Changes in uspace/srv/hid/input/ctl/apple.c [60e5a856:1875a0c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/ctl/apple.c
r60e5a856 r1875a0c 33 33 /** 34 34 * @file 35 * @brief 35 * @brief Apple ADB keyboard controller driver. 36 36 */ 37 37 … … 42 42 #include <kbd_port.h> 43 43 44 static void apple_ctl_parse _scancode(int);44 static void apple_ctl_parse(sysarg_t); 45 45 static int apple_ctl_init(kbd_dev_t *); 46 static void apple_ctl_set_ind(kbd_dev_t *, unsigned );46 static void apple_ctl_set_ind(kbd_dev_t *, unsigned int); 47 47 48 48 kbd_ctl_ops_t apple_ctl = { 49 .parse _scancode = apple_ctl_parse_scancode,49 .parse = apple_ctl_parse, 50 50 .init = apple_ctl_init, 51 51 .set_ind = apple_ctl_set_ind … … 64 64 } 65 65 66 static void apple_ctl_parse _scancode(int scancode)66 static void apple_ctl_parse(sysarg_t scancode) 67 67 { 68 68 kbd_event_type_t type; 69 69 unsigned int key; 70 70 71 if (scancode < 0 || scancode>= 0x100)71 if (scancode >= 0x100) 72 72 return; 73 73 … … 81 81 key = scanmap[scancode]; 82 82 if (key != 0) 83 kbd_push_ev (kbd_dev, type, key);83 kbd_push_event(kbd_dev, type, key); 84 84 } 85 85
Note:
See TracChangeset
for help on using the changeset viewer.