Changeset 9be360ee in mainline for uspace/srv/hid/kbd/include/kbd.h
- Timestamp:
- 2011-06-11T22:06:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f3f9659
- Parents:
- 56ad818
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/include/kbd.h
r56ad818 r9be360ee 1 1 /* 2 2 * Copyright (c) 2006 Josef Cejka 3 * Copyright (c) 2011 Jiri Svoboda 3 4 * All rights reserved. 4 5 * … … 38 39 #define KBD_KBD_H_ 39 40 41 #include <adt/list.h> 40 42 #include <bool.h> 43 44 struct kbd_port_ops; 45 struct kbd_ctl_ops; 46 47 typedef struct kbd_dev { 48 /** Link to kbd_devs list */ 49 link_t kbd_devs; 50 51 /** Port ops */ 52 struct kbd_port_ops *port_ops; 53 54 /** Ctl ops */ 55 struct kbd_ctl_ops *ctl_ops; 56 } kbd_dev_t; 41 57 42 58 extern bool irc_service; 43 59 extern int irc_phone; 44 60 45 extern void kbd_push_scancode( int);46 extern void kbd_push_ev( int, unsigned int);61 extern void kbd_push_scancode(kbd_dev_t *, int); 62 extern void kbd_push_ev(kbd_dev_t *, int, unsigned int); 47 63 48 64 #endif
Note:
See TracChangeset
for help on using the changeset viewer.