source:
avrstuff/libs/amiga_keyboard/amiga_keyboard.h@
b82c7b3
Last change on this file since b82c7b3 was b82c7b3, checked in by , 14 years ago | |
---|---|
|
|
File size: 418 bytes |
Line | |
---|---|
1 | /* Amiga Keyboard reading on Atmel AVR |
2 | * Copyright 2010, Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
3 | * Distributed under the terms of the MIT Licence */ |
4 | |
5 | #include <inttypes.h> |
6 | |
7 | |
8 | void ak_init_keyboard(); |
9 | // Call this to set up the I/O pins |
10 | uint8_t ak_read_scancode(); |
11 | // Wait for a char to come from the keyboard |
12 | char ak_scancode_to_ascii(uint8_t); |
13 | // Convert a keycode to a printable ASCII char |
Note:
See TracBrowser
for help on using the repository browser.