Changes in kernel/genarch/src/kbrd/kbrd.c [7ddc2c7:6eef3c4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/kbrd/kbrd.c
r7ddc2c7 r6eef3c4 56 56 #include <arch.h> 57 57 #include <macros.h> 58 #include <str.h>59 58 60 59 #define IGNORE_CODE 0x7f … … 66 65 67 66 static indev_operations_t kbrd_raw_ops = { 68 .poll = NULL, 69 .signal = NULL 67 .poll = NULL 70 68 }; 71 69 … … 106 104 bool shift; 107 105 bool capslock; 108 wchar_t ch;109 106 110 107 spinlock_lock(&instance->keylock); … … 130 127 131 128 if (shift) 132 ch = sc_secondary_map[sc];129 indev_push_character(instance->sink, sc_secondary_map[sc]); 133 130 else 134 ch = sc_primary_map[sc]; 135 136 switch (ch) { 137 case U_PAGE_UP: 138 indev_signal(instance->sink, INDEV_SIGNAL_SCROLL_UP); 139 break; 140 case U_PAGE_DOWN: 141 indev_signal(instance->sink, INDEV_SIGNAL_SCROLL_DOWN); 142 break; 143 default: 144 indev_push_character(instance->sink, ch); 145 } 146 131 indev_push_character(instance->sink, sc_primary_map[sc]); 147 132 break; 148 133 }
Note:
See TracChangeset
for help on using the changeset viewer.