#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/isa.h>
#include <linux/ioport.h>
#include <linux/dmi.h>
Go to the source code of this file.
#define DEVICE_DISABLE 0xa3 |
#define DEVICE_ENABLE 0xa2 |
#define HTCPEN_PORT_DATA 0x0251 |
#define HTCPEN_PORT_INDEX 0x0250 |
#define HTCPEN_PORT_INIT 0x06c |
#define HTCPEN_PORT_IRQ_CLEAR 0x068 |
MODULE_DESCRIPTION |
( |
"HTC Shift touchscreen driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
dmi |
, |
|
|
htcshift_dmi_table |
|
|
) |
| |
module_exit |
( |
htcpen_isa_exit |
| ) |
|
module_init |
( |
htcpen_isa_init |
| ) |
|
module_param |
( |
invert_x |
, |
|
|
bool |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
invert_y |
, |
|
|
bool |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
invert_x |
, |
|
|
"If |
set, |
|
|
X axis is inverted" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
invert_y |
, |
|
|
"If |
set, |
|
|
Y axis is inverted" |
|
|
) |
| |