Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4343 | Rev 4348 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | 36 | ||
37 | #ifndef KBD_LAYOUT_H_ |
37 | #ifndef KBD_LAYOUT_H_ |
38 | #define KBD_LAYOUT_H_ |
38 | #define KBD_LAYOUT_H_ |
39 | 39 | ||
40 | #include <kbd/kbd.h> |
40 | #include <kbd/kbd.h> |
- | 41 | #include <sys/types.h> |
|
41 | 42 | ||
- | 43 | typedef struct { |
|
- | 44 | void (*reset)(void); |
|
42 | extern char layout_parse_ev(kbd_event_t *); |
45 | wchar_t (*parse_ev)(kbd_event_t *); |
- | 46 | } layout_op_t; |
|
- | 47 | ||
- | 48 | extern layout_op_t us_qwerty_op; |
|
- | 49 | extern layout_op_t us_dvorak_op; |
|
- | 50 | extern layout_op_t cz_op; |
|
43 | 51 | ||
44 | #endif |
52 | #endif |
45 | 53 | ||
46 | /** |
54 | /** |
47 | * @} |
55 | * @} |