Changes in uspace/srv/hid/input/input.c [c928bb7:c9d011e4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
rc928bb7 rc9d011e4 38 38 39 39 #include <adt/list.h> 40 #include < stdbool.h>40 #include <bool.h> 41 41 #include <fibril_synch.h> 42 42 #include <ipc/services.h> … … 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 } … … 431 423 kbd_add_dev(&chardev_port, &stty_ctl); 432 424 #endif 425 #if defined(UARCH_arm32) && defined(MACHINE_testarm) && defined(CONFIG_FB) 426 kbd_add_dev(&gxemul_port, &gxe_fb_ctl); 427 #endif 428 #if defined(UARCH_arm32) && defined(MACHINE_testarm) && !defined(CONFIG_FB) 429 kbd_add_dev(&gxemul_port, &stty_ctl); 430 #endif 433 431 #if defined(UARCH_arm32) && defined(MACHINE_integratorcp) 434 432 kbd_add_dev(&pl050_port, &pc_ctl);
Note:
See TracChangeset
for help on using the changeset viewer.