Changeset 56ad818 in mainline for uspace/srv/hid/kbd/ctl/sun.c
- Timestamp:
- 2011-06-11T20:29:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9be360ee
- Parents:
- b1bdc7a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified uspace/srv/hid/kbd/ctl/sun.c ¶
rb1bdc7a4 r56ad818 42 42 #include <kbd_port.h> 43 43 44 static void sun_ctl_parse_scancode(int scancode); 45 static int sun_ctl_init(kbd_port_ops_t *kbd_port); 46 static void sun_ctl_set_ind(unsigned mods); 47 48 kbd_ctl_ops_t sun_ctl = { 49 .parse_scancode = sun_ctl_parse_scancode, 50 .init = sun_ctl_init, 51 .set_ind = sun_ctl_set_ind 52 }; 53 44 54 #define KBD_KEY_RELEASE 0x80 45 55 #define KBD_ALL_KEYS_UP 0x7f … … 47 57 static int scanmap_simple[]; 48 58 49 int kbd_ctl_init(kbd_port_ops_t *kbd_port)59 static int sun_ctl_init(kbd_port_ops_t *kbd_port) 50 60 { 51 61 return 0; 52 62 } 53 63 54 void kbd_ctl_parse_scancode(int scancode)64 static void sun_ctl_parse_scancode(int scancode) 55 65 { 56 66 kbd_event_type_t type; … … 75 85 } 76 86 77 void kbd_ctl_set_ind(unsigned mods)87 static void sun_ctl_set_ind(unsigned mods) 78 88 { 79 89 (void) mods;
Note:
See TracChangeset
for help on using the changeset viewer.