Home | History | Annotate | Download | only in linux

Lines Matching defs:code

29 	__u16 code;
86 * @keycode: key code assigned to this scancode
441 /* Code 255 is reserved for special needs of AT keyboard driver */
1141 * @uniq: unique identification code for the device (if device has it)
1168 * @repeat_key: stores key code of the last key pressed; used to implement
1202 * Code that accesses and/or modifies parameters of a device
1271 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
1382 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
1383 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
1471 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
1472 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
1474 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value)
1476 input_event(dev, EV_KEY, code, !!value);
1479 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value)
1481 input_event(dev, EV_REL, code, value);
1484 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value)
1486 input_event(dev, EV_ABS, code, value);
1489 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value)
1491 input_event(dev, EV_FF_STATUS, code, value);
1494 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value)
1496 input_event(dev, EV_SW, code, !!value);
1509 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
1613 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);