another question..
Posted: Thu May 05, 2011 10:45 am
Hello, i've another question ^^
How can I get the keyboard input in C?
I would like to have functions like: get_keyboard (int length) enable_keyboard (), disable_keyboard () and move_led (int led);
Which are respectively:
-get_keyboard () returns what the user presses where length is the maximum size of the string returned
-enable_keyboard () enables the keyboard
-disable_keyboard () disables the keyboard
-move_led () toggles the LEDs on the keyboard, 1 = caps lock, 2 = num lock, 3 = scroll lock
thx ^^
How can I get the keyboard input in C?
I would like to have functions like: get_keyboard (int length) enable_keyboard (), disable_keyboard () and move_led (int led);
Which are respectively:
-get_keyboard () returns what the user presses where length is the maximum size of the string returned
-enable_keyboard () enables the keyboard
-disable_keyboard () disables the keyboard
-move_led () toggles the LEDs on the keyboard, 1 = caps lock, 2 = num lock, 3 = scroll lock
thx ^^