20 #include <sys/types.h> 34 #define MW_UID_REGISTER_DEVICE 0x4100 35 #define MW_UID_UNREGISTER_DEVICE 0x4101 38 enum MW_INPUT_DEVICE_TYPE {
47 #define MV_BUTTON_RIGHT 0x01 48 #define MV_BUTTON_CENTER 0x02 49 #define MV_BUTTON_LEFT 0x04 52 #define MV_KEY_MODIFIER_SHIFT_DOWN 0x10 53 #define MV_KEY_MODIFIER_ALT_DOWN 0x20 56 #define MV_KEY_MODIFIER_CAPS_ON 0x04 57 #define MV_KEY_MODIFIER_NUN_LOCK_ON 0x02 58 #define MV_KEY_SCROLL_LOCK_ON 0x01 61 #define MV_KEY_MODE_ASCII 0x01 66 #define MV_KEY_MODE_SCANCODE 0x00 72 #define MV_KDGKBMODE 0x4B44 73 #define MV_KDSKBMODE 0x4B45 79 enum MW_INPUT_DEVICE_TYPE type;
84 unsigned char modifiers;
128 extern int uid_open_queue(
const char *q_name,
int flags,
size_t max_msgs );
164 extern int uid_unregister_device(
int fd );
167 extern int uid_set_kbd_mode(
int fd,
int mode,
int *old_mode );
void uid_print_message_with_plugin(const rtems_printer *printer, struct MW_UID_MESSAGE *uid)
Definition: mw_print.c:52
void uid_print_message(struct MW_UID_MESSAGE *uid)
Definition: mw_print.c:43
int uid_close_queue(void)
Definition: mw_uid.c:77
int uid_open_queue(const char *q_name, int flags, size_t max_msgs)
Definition: mw_uid.c:37
int uid_register_device(int fd, const char *q_name)
Definition: mw_uid.c:141
int uid_send_message(struct MW_UID_MESSAGE *m)
Definition: mw_uid.c:129
int uid_read_message(struct MW_UID_MESSAGE *m, unsigned long timeout)
Definition: mw_uid.c:88
Definition: inftrees.h:24
User print interface to the bspIO print plug in.