Changeset e1a27be in mainline for uspace/srv/hid/input
- Timestamp:
- 2012-12-29T10:48:35Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 17cc8f4f
- Parents:
- 8f88beb7 (diff), c928bb7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv/hid/input
- Files:
-
- 1 added
- 9 edited
-
Makefile (modified) (1 diff)
-
ctl/kbdev.c (modified) (1 diff)
-
input.c (modified) (4 diffs)
-
input.h (modified) (1 diff)
-
layout.h (modified) (1 diff)
-
layout/ar.c (added)
-
layout/cz.c (modified) (1 diff)
-
port/niagara.c (modified) (1 diff)
-
port/ski.c (modified) (1 diff)
-
proto/adb.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/Makefile
r8f88beb7 re1a27be 35 35 layout/us_qwerty.c \ 36 36 layout/us_dvorak.c \ 37 layout/ar.c \ 37 38 port/adb.c \ 38 39 port/adb_mouse.c \ -
uspace/srv/hid/input/ctl/kbdev.c
r8f88beb7 re1a27be 37 37 38 38 #include <async.h> 39 #include < bool.h>39 #include <stdbool.h> 40 40 #include <errno.h> 41 41 #include <fcntl.h> -
uspace/srv/hid/input/input.c
r8f88beb7 re1a27be 38 38 39 39 #include <adt/list.h> 40 #include < bool.h>40 #include <stdbool.h> 41 41 #include <fibril_synch.h> 42 42 #include <ipc/services.h> … … 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 } … … 423 431 kbd_add_dev(&chardev_port, &stty_ctl); 424 432 #endif 425 #if defined(UARCH_arm32) && defined(MACHINE_testarm) && defined(CONFIG_FB)426 kbd_add_dev(&gxemul_port, &gxe_fb_ctl);427 #endif428 #if defined(UARCH_arm32) && defined(MACHINE_testarm) && !defined(CONFIG_FB)429 kbd_add_dev(&gxemul_port, &stty_ctl);430 #endif431 433 #if defined(UARCH_arm32) && defined(MACHINE_integratorcp) 432 434 kbd_add_dev(&pl050_port, &pc_ctl); -
uspace/srv/hid/input/input.h
r8f88beb7 re1a27be 39 39 #define INPUT_H_ 40 40 41 #include < bool.h>41 #include <stdbool.h> 42 42 #include <async.h> 43 43 -
uspace/srv/hid/input/layout.h
r8f88beb7 re1a27be 60 60 extern layout_ops_t us_dvorak_ops; 61 61 extern layout_ops_t cz_ops; 62 extern layout_ops_t ar_ops; 62 63 63 64 extern layout_t *layout_create(layout_ops_t *); -
uspace/srv/hid/input/layout/cz.c
r8f88beb7 re1a27be 35 35 #include <io/console.h> 36 36 #include <io/keycode.h> 37 #include < bool.h>37 #include <stdbool.h> 38 38 #include <stdlib.h> 39 39 #include "../input.h" -
uspace/srv/hid/input/port/niagara.c
r8f88beb7 re1a27be 42 42 #include <stdio.h> 43 43 #include <thread.h> 44 #include < bool.h>44 #include <stdbool.h> 45 45 #include <errno.h> 46 46 #include "../kbd_port.h" -
uspace/srv/hid/input/port/ski.c
r8f88beb7 re1a27be 40 40 #include <sys/types.h> 41 41 #include <thread.h> 42 #include < bool.h>42 #include <stdbool.h> 43 43 #include "../kbd_port.h" 44 44 #include "../kbd.h" -
uspace/srv/hid/input/proto/adb.c
r8f88beb7 re1a27be 36 36 */ 37 37 38 #include < bool.h>38 #include <stdbool.h> 39 39 #include "../mouse.h" 40 40 #include "../mouse_port.h"
Note:
See TracChangeset
for help on using the changeset viewer.
