Changes in uspace/srv/hid/input/input.c [c928bb7:f9ab562] in mainline
- File:
-
- 1 edited
-
uspace/srv/hid/input/input.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
rc928bb7 rf9ab562 62 62 #include "input.h" 63 63 64 #define NUM_LAYOUTS 464 #define NUM_LAYOUTS 3 65 65 66 66 static layout_ops_t *layout[NUM_LAYOUTS] = { 67 67 &us_qwerty_ops, 68 68 &us_dvorak_ops, 69 &cz_ops, 70 &ar_ops 69 &cz_ops 71 70 }; 72 71 … … 161 160 layout_destroy(kdev->active_layout); 162 161 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]);170 162 return; 171 163 }
Note:
See TracChangeset
for help on using the changeset viewer.
