Changeset b1bdc7a4 in mainline for uspace/srv/hid/kbd/ctl/pc.c
- Timestamp:
- 2011-06-11T19:48:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56ad818
- Parents:
- 774fc85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/ctl/pc.c
r774fc85 rb1bdc7a4 64 64 65 65 static enum dec_state ds; 66 static kbd_port_ops_t *kbd_port; 66 67 67 68 static int scanmap_simple[] = { … … 197 198 }; 198 199 199 int kbd_ctl_init( void)200 int kbd_ctl_init(kbd_port_ops_t *kbd_p) 200 201 { 202 kbd_port = kbd_p; 201 203 ds = ds_s; 202 204 return 0; … … 265 267 b = b | LI_SCROLL; 266 268 267 kbd_port_write(KBD_CMD_SET_LEDS);268 kbd_port_write(b);269 (*kbd_port->write)(KBD_CMD_SET_LEDS); 270 (*kbd_port->write)(b); 269 271 } 270 272
Note:
See TracChangeset
for help on using the changeset viewer.