1 /* 2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the MIT License. 4 */ 5 6 7 #include "keyboard.h" 8 9 #include <boot/platform.h> 10 11 12 /** Note, checking for keys doesn't seem to work in graphics 13 * mode, at least in Bochs. 14 */ 15 16 static uint16 17 check_for_key(void) 18 { 19 return 0; 20 } 21 22 23 extern "C" void 24 clear_key_buffer(void) 25 { 26 while (check_for_key() != 0) 27 ; 28 } 29 30 31 extern "C" union key 32 wait_for_key(void) 33 { 34 union key key; 35 key.ax=0; 36 return key; 37 } 38 39 40 extern "C" uint32 41 check_for_boot_keys(void) 42 { 43 return 0; 44 } 45 46