Changeset 38f2eef in avrstuff for libs/amiga_keyboard/amiga_keyboard.h
- Timestamp:
- Jul 31, 2010, 9:36:19 AM (14 years ago)
- Branches:
- main
- Children:
- bb69525
- Parents:
- 08d5388
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libs/amiga_keyboard/amiga_keyboard.h
r08d5388 r38f2eef 5 5 #include <inttypes.h> 6 6 7 extern volatile uint8_t char_waiting; 7 8 8 9 void ak_init_keyboard(); 9 10 // Call this to set up the I/O pins 11 uint8_t ak_wait_scancode(); 12 // Wait for a char to come from the keyboard 10 13 uint8_t ak_read_scancode(); 11 // Wait for a char to come from the keyboard14 // Get char from keyboard. Only call this if char_waiting is set ! 12 15 char ak_scancode_to_ascii(uint8_t); 13 16 // Convert a keycode to a printable ASCII char
Note:
See TracChangeset
for help on using the changeset viewer.