Changeset b1bdc7a4 in mainline for uspace/srv/hid/kbd/ctl
- Timestamp:
- 2011-06-11T19:48:15Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56ad818
- Parents:
- 774fc85
- Location:
- uspace/srv/hid/kbd/ctl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/ctl/apple.c
r774fc85 rb1bdc7a4 40 40 #include <io/keycode.h> 41 41 #include <kbd_ctl.h> 42 #include <kbd_port.h> 42 43 43 44 #define KBD_KEY_RELEASE 0x80 … … 45 46 static int scanmap[]; 46 47 47 int kbd_ctl_init( void)48 int kbd_ctl_init(kbd_port_ops_t *kbd_port) 48 49 { 50 (void) kbd_port; 49 51 return 0; 50 52 } -
uspace/srv/hid/kbd/ctl/gxe_fb.c
r774fc85 rb1bdc7a4 40 40 #include <io/keycode.h> 41 41 #include <kbd_ctl.h> 42 #include <kbd_port.h> 42 43 #include <gsp.h> 43 44 #include <stroke.h> … … 207 208 }; 208 209 209 int kbd_ctl_init( void)210 int kbd_ctl_init(kbd_port_ops_t *kbd_port) 210 211 { 212 (void) kbd_port; 211 213 ds = 0; 212 214 -
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 -
uspace/srv/hid/kbd/ctl/stty.c
r774fc85 rb1bdc7a4 39 39 #include <io/keycode.h> 40 40 #include <kbd_ctl.h> 41 #include <kbd_port.h> 41 42 #include <gsp.h> 42 43 #include <stroke.h> … … 206 207 }; 207 208 208 int kbd_ctl_init( void)209 int kbd_ctl_init(kbd_port_ops_t *kbd_port) 209 210 { 211 (void) kbd_port; 210 212 ds = 0; 211 213 -
uspace/srv/hid/kbd/ctl/sun.c
r774fc85 rb1bdc7a4 40 40 #include <io/keycode.h> 41 41 #include <kbd_ctl.h> 42 #include <kbd_port.h> 42 43 43 44 #define KBD_KEY_RELEASE 0x80 … … 46 47 static int scanmap_simple[]; 47 48 48 int kbd_ctl_init( void)49 int kbd_ctl_init(kbd_port_ops_t *kbd_port) 49 50 { 50 51 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
