Changeset 239ae4e in avrstuff
- Timestamp:
- Jul 22, 2014, 12:35:35 PM (10 years ago)
- Branches:
- main
- Children:
- a3eb2c6
- Parents:
- 5562497
- Files:
-
- 5 deleted
- 2 edited
- 116 moved
Legend:
- Unmodified
- Added
- Removed
-
libs/ps2_keyboard/ps2_keyboard.c
r5562497 r239ae4e 33 33 #define PS2_DATA PD4 34 34 35 volatile uint8_t kbd_data;36 volatile uint8_t char_waiting;37 uint8_t started;38 uint8_t bit_count;39 uint8_t shift;40 uint8_t caps_lock;41 uint8_t extended;35 static volatile uint8_t kbd_data; 36 static volatile uint8_t char_waiting; 37 static uint8_t started; 38 static uint8_t bit_count; 39 static uint8_t shift; 40 static uint8_t caps_lock; 41 static uint8_t extended; 42 42 uint8_t release; 43 43 … … 96 96 } else { 97 97 char_waiting = 1; 98 #ifdef CALLBACK 99 CALLBACK 100 #endif 98 101 } 99 102 } -
libs/ps2_keyboard/ps2_keyboard.h
r5562497 r239ae4e 2 2 3 3 4 void init_keyb ard();4 void init_keyboard(); 5 5 // Call this to set up the I/O pins 6 6 uint8_t read_char(); … … 8 8 char render_scan_code(uint8_t); 9 9 // Convert a keycode to a printable ASCII char 10 11 extern uint8_t release;
Note:
See TracChangeset
for help on using the changeset viewer.