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 16static uint16 17check_for_key(void) 18{ 19 return 0; 20} 21 22 23extern "C" void 24clear_key_buffer(void) 25{ 26 while (check_for_key() != 0) 27 ; 28} 29 30 31extern "C" union key 32wait_for_key(void) 33{ 34 union key key; 35 key.ax=0; 36 return key; 37} 38 39 40extern "C" uint32 41check_for_boot_keys(void) 42{ 43 return 0; 44} 45 46