• Home
  • Raw
  • Download

Lines Matching refs:code

29 	__u16 code;
86 * @keycode: key code assigned to this scancode
123 * __u32 code;
134 * Before the call, code is set to the wanted ABS_MT event type. On
136 * ABS_MT code.
138 * If the request code is not an ABS_MT value, -EINVAL is returned.
1205 * @uniq: unique identification code for the device (if device has it)
1232 * @repeat_key: stores key code of the last key pressed; used to implement
1335 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
1446 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
1447 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
1535 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
1536 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
1538 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value)
1540 input_event(dev, EV_KEY, code, !!value);
1543 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value)
1545 input_event(dev, EV_REL, code, value);
1548 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value)
1550 input_event(dev, EV_ABS, code, value);
1553 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value)
1555 input_event(dev, EV_FF_STATUS, code, value);
1558 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value)
1560 input_event(dev, EV_SW, code, !!value);
1573 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
1677 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);