33#define MW_UID_REGISTER_DEVICE 0x4100
34#define MW_UID_UNREGISTER_DEVICE 0x4101
37enum MW_INPUT_DEVICE_TYPE {
46#define MV_BUTTON_RIGHT 0x01
47#define MV_BUTTON_CENTER 0x02
48#define MV_BUTTON_LEFT 0x04
51#define MV_KEY_MODIFIER_SHIFT_DOWN 0x10
52#define MV_KEY_MODIFIER_ALT_DOWN 0x20
55#define MV_KEY_MODIFIER_CAPS_ON 0x04
56#define MV_KEY_MODIFIER_NUN_LOCK_ON 0x02
57#define MV_KEY_SCROLL_LOCK_ON 0x01
60#define MV_KEY_MODE_ASCII 0x01
65#define MV_KEY_MODE_SCANCODE 0x00
71#define MV_KDGKBMODE 0x4B44
72#define MV_KDSKBMODE 0x4B45
78 enum MW_INPUT_DEVICE_TYPE type;
83 unsigned char modifiers;
127extern int uid_open_queue(
const char *q_name,
int flags,
size_t max_msgs );
163extern int uid_unregister_device(
int fd );
166extern int uid_set_kbd_mode(
int fd,
int mode,
int *old_mode );
int uid_open_queue(const char *q_name, int flags, size_t max_msgs)
Definition: mw_uid.c:38
int uid_register_device(int fd, const char *q_name)
Definition: mw_uid.c:142
void uid_print_message(struct MW_UID_MESSAGE *uid)
Definition: mw_print.c:44
int uid_send_message(struct MW_UID_MESSAGE *m)
Definition: mw_uid.c:130
int uid_read_message(struct MW_UID_MESSAGE *m, unsigned long timeout)
Definition: mw_uid.c:89
void uid_print_message_with_plugin(const rtems_printer *printer, struct MW_UID_MESSAGE *uid)
Definition: mw_print.c:53
int uid_close_queue(void)
Definition: mw_uid.c:78
User print interface to the bspIO print plug in.
Definition: inftrees.h:24