|
Linux Kernel
3.7.1
|
#include <linux/errno.h>#include <linux/kernel.h>#include <linux/module.h>#include <linux/slab.h>#include <linux/input.h>#include <linux/serio.h>#include <linux/init.h>Go to the source code of this file.
Data Structures | |
| struct | inexio |
Macros | |
| #define | DRIVER_DESC "iNexio serial touchscreen driver" |
| #define | INEXIO_FORMAT_TOUCH_BIT 0x01 |
| #define | INEXIO_FORMAT_LENGTH 5 |
| #define | INEXIO_RESPONSE_BEGIN_BYTE 0x80 |
| #define | INEXIO_MAX_LENGTH 16 |
| #define | INEXIO_MIN_XC 0 |
| #define | INEXIO_MAX_XC 0x3fff |
| #define | INEXIO_MIN_YC 0 |
| #define | INEXIO_MAX_YC 0x3fff |
| #define | INEXIO_GET_XC(data) (((data[1])<<7) | data[2]) |
| #define | INEXIO_GET_YC(data) (((data[3])<<7) | data[4]) |
| #define | INEXIO_GET_TOUCHED(data) (INEXIO_FORMAT_TOUCH_BIT & data[0]) |
Functions | |
| MODULE_AUTHOR ("Richard Lemon <[email protected]>") | |
| MODULE_DESCRIPTION (DRIVER_DESC) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_DEVICE_TABLE (serio, inexio_serio_ids) | |
| module_serio_driver (inexio_drv) | |
| #define INEXIO_GET_TOUCHED | ( | data | ) | (INEXIO_FORMAT_TOUCH_BIT & data[0]) |
| MODULE_AUTHOR | ( | "Richard Lemon <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
| MODULE_DEVICE_TABLE | ( | serio | , |
| inexio_serio_ids | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_serio_driver | ( | inexio_drv | ) |
1.8.2