• Home
  • Raw
  • Download

Lines Matching refs:code

29  * @code: the value code
34 __u16 code;
49 * @uniq: unique identification code for the device (if device has it)
78 * @repeat_key: stores key code of the last key pressed; used to implement
182 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
306 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
309 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
411 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
412 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
414 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value)
416 input_event(dev, EV_KEY, code, !!value);
419 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value)
421 input_event(dev, EV_REL, code, value);
424 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value)
426 input_event(dev, EV_ABS, code, value);
429 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value)
431 input_event(dev, EV_FF_STATUS, code, value);
434 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value)
436 input_event(dev, EV_SW, code, !!value);
449 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
558 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);