#include <linux/time.h>
#include <linux/list.h>
#include <uapi/linux/input.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/timer.h>
#include <linux/mod_devicetable.h>
Go to the source code of this file.
#define INPUT_GENERATE_ABS_ACCESSORS |
( |
|
_suffix, |
|
|
|
_item |
|
) |
| |
Value:static inline int input_abs_get_##_suffix(
struct input_dev *
dev, \
unsigned int axis) \
{ \
return
dev->absinfo ?
dev->absinfo[axis]._item : 0; \
} \
\
static
inline void input_abs_set_##_suffix(
struct input_dev *
dev, \
unsigned int axis,
int val) \
{ \
input_alloc_absinfo(
dev); \
dev->absinfo[axis]._item =
val; \
}