Changes in uspace/srv/hid/input/input.c [f9ab562:c928bb7] in mainline
- File:
-
- 1 edited
-
uspace/srv/hid/input/input.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
rf9ab562 rc928bb7 62 62 #include "input.h" 63 63 64 #define NUM_LAYOUTS 364 #define NUM_LAYOUTS 4 65 65 66 66 static layout_ops_t *layout[NUM_LAYOUTS] = { 67 67 &us_qwerty_ops, 68 68 &us_dvorak_ops, 69 &cz_ops 69 &cz_ops, 70 &ar_ops 70 71 }; 71 72 … … 160 161 layout_destroy(kdev->active_layout); 161 162 kdev->active_layout = layout_create(layout[2]); 163 return; 164 } 165 166 if (type == KEY_PRESS && (kdev->mods & KM_LCTRL) && 167 key == KC_F4) { 168 layout_destroy(kdev->active_layout); 169 kdev->active_layout = layout_create(layout[3]); 162 170 return; 163 171 }
Note:
See TracChangeset
for help on using the changeset viewer.
