Lines Matching refs:code
30 * @code: the value code
35 __u16 code;
50 * @uniq: unique identification code for the device (if device has it)
79 * @repeat_key: stores key code of the last key pressed; used to implement
183 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
312 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
315 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
422 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
423 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
425 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value)
427 input_event(dev, EV_KEY, code, !!value);
430 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value)
432 input_event(dev, EV_REL, code, value);
435 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value)
437 input_event(dev, EV_ABS, code, value);
440 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value)
442 input_event(dev, EV_FF_STATUS, code, value);
445 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value)
447 input_event(dev, EV_SW, code, !!value);
460 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
572 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);