19 #include <sys/types.h> 33 #define MW_UID_REGISTER_DEVICE 0x4100 34 #define MW_UID_UNREGISTER_DEVICE 0x4101 37 enum 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;
127 extern int uid_open_queue(
const char *q_name,
int flags,
size_t max_msgs );
163 extern int uid_unregister_device(
int fd );
166 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:53
void uid_print_message(struct MW_UID_MESSAGE *uid)
Definition: mw_print.c:44
int uid_close_queue(void)
Definition: mw_uid.c:78
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
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
Definition: inftrees.h:24
User print interface to the bspIO print plug in.