Ticket #579: bkeyapi.patch
| File bkeyapi.patch, 683 bytes (added by pulkomandy, 3 years ago) |
|---|
-
bkeyapi.cpp
26 26 #error something is wrong with the makefile 27 27 #endif 28 28 29 #define KEY_ID_PC101 0 // the docs say it should be 0x83ab, but they lie30 31 29 #define KEY_SEMAPHORE_NAME "keyboard driver waiting..." 32 30 33 31 #define KEY_THREAD_PERIOD 33333 // microseconds, 1/30th of a second … … 303 301 goto cleanup; 304 302 } 305 303 306 if (keyboard_id != KEY_ID_PC101) {307 goto cleanup;308 }309 310 304 waiting_for_input = create_sem(0, "waiting for input..."); 311 305 312 306 if (waiting_for_input < B_NO_ERROR) {
