Changeset 3e1bc35 in mainline
- Timestamp:
- 2019-05-12T15:03:14Z (6 years ago)
- Children:
- 8f16ede6
- Parents:
- cb9313e
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-05-12 13:37:28)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-05-12 15:03:14)
- Location:
- uspace
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
rcb9313e r3e1bc35 220 220 endif 221 221 222 ## build keyboard layouts 223 ifeq ($(CONFIG_RTLD),y) 224 DIRS += srv/hid/input/layout 225 endif 226 222 227 ## System libraries 223 228 # -
uspace/srv/hid/input/Makefile
rcb9313e r3e1bc35 53 53 stroke.c 54 54 55 56 55 include $(USPACE_PREFIX)/Makefile.common 57 -
uspace/srv/hid/input/layout/ar.c
rcb9313e r3e1bc35 54 54 }; 55 55 56 #else 57 58 layout_ops_t get_layout(void); 59 layout_ops_t get_layout(void) { 60 layout_ops_t layout_default = { 61 .create = ar_create, 62 .destroy = ar_destroy, 63 .parse_ev = ar_parse_ev 64 }; 65 return layout_default; 66 } 67 56 68 #endif 57 69 -
uspace/srv/hid/input/layout/cz.c
rcb9313e r3e1bc35 57 57 } layout_cz_t; 58 58 59 #ifdef CONFIG_KB_LAYOUT_ us_qwerty59 #ifdef CONFIG_KB_LAYOUT_cz 60 60 61 61 layout_ops_t layout_default = { … … 64 64 .parse_ev = cz_parse_ev 65 65 }; 66 67 #else 68 69 layout_ops_t get_layout(void); 70 layout_ops_t get_layout(void) { 71 layout_ops_t layout_default = { 72 .create = cz_create, 73 .destroy = cz_destroy, 74 .parse_ev = cz_parse_ev 75 }; 76 return layout_default; 77 } 66 78 67 79 #endif -
uspace/srv/hid/input/layout/us_dvorak.c
rcb9313e r3e1bc35 53 53 }; 54 54 55 #else 56 57 layout_ops_t get_layout(void); 58 layout_ops_t get_layout(void) { 59 layout_ops_t layout_default = { 60 .create = us_dvorak_create, 61 .destroy = us_dvorak_destroy, 62 .parse_ev = us_dvorak_parse_ev 63 }; 64 return layout_default; 65 } 66 55 67 #endif 56 68 -
uspace/srv/hid/input/layout/us_qwerty.c
rcb9313e r3e1bc35 53 53 }; 54 54 55 #else 56 57 layout_ops_t get_layout(void); 58 layout_ops_t get_layout(void) { 59 layout_ops_t layout_default = { 60 .create = us_qwerty_create, 61 .destroy = us_qwerty_destroy, 62 .parse_ev = us_qwerty_parse_ev 63 }; 64 return layout_default; 65 } 66 55 67 #endif 56 68
Note:
See TracChangeset
for help on using the changeset viewer.