Changeset 28a5ebd in mainline for kernel/genarch/src/kbrd/kbrd.c
- Timestamp:
- 2020-06-18T15:39:50Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce52c333
- Parents:
- 4f663f3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/kbrd/kbrd.c
r4f663f3e r28a5ebd 76 76 * @param sc Scancode of the key being released. 77 77 */ 78 static void key_released(kbrd_instance_t *instance, wchar_t sc)78 static void key_released(kbrd_instance_t *instance, char32_t sc) 79 79 { 80 80 spinlock_lock(&instance->keylock); … … 103 103 * @param sc Scancode of the key being pressed. 104 104 */ 105 static void key_pressed(kbrd_instance_t *instance, wchar_t sc)105 static void key_pressed(kbrd_instance_t *instance, char32_t sc) 106 106 { 107 107 bool letter; 108 108 bool shift; 109 109 bool capslock; 110 wchar_t ch;110 char32_t ch; 111 111 112 112 spinlock_lock(&instance->keylock); … … 158 158 159 159 while (true) { 160 wchar_t sc = indev_pop_character(&instance->raw);160 char32_t sc = indev_pop_character(&instance->raw); 161 161 162 162 if (sc == IGNORE_CODE)
Note:
See TracChangeset
for help on using the changeset viewer.