#include <linux/device.h>
#include <linux/hid.h>
#include <linux/usb.h>
#include "usbhid/usbhid.h"
#include <linux/module.h>
#include <linux/slab.h>
#include "hid-ids.h"
Go to the source code of this file.
|
| module_param (min_width, uint, 0644) |
|
| MODULE_PARM_DESC (min_width,"Minimum touch contact width to accept.") |
|
| module_param (min_height, uint, 0644) |
|
| MODULE_PARM_DESC (min_height,"Minimum touch contact height to accept.") |
|
| module_param (activate_slack, uint, 0644) |
|
| MODULE_PARM_DESC (activate_slack,"Number of touch frames to ignore at ""the start of touch input.") |
|
| module_param (deactivate_slack, uint, 0644) |
|
| MODULE_PARM_DESC (deactivate_slack,"Number of empty frames to ignore before ""deactivating touch.") |
|
| module_param (activation_width, uint, 0644) |
|
| MODULE_PARM_DESC (activation_width,"Width threshold to immediately start ""processing touch events.") |
|
| module_param (activation_height, uint, 0644) |
|
| MODULE_PARM_DESC (activation_height,"Height threshold to immediately start ""processing touch events.") |
|
| MODULE_DEVICE_TABLE (hid, ntrig_devices) |
|
| module_init (ntrig_init) |
|
| module_exit (ntrig_exit) |
|
| MODULE_LICENSE ("GPL") |
|
#define NTRIG_DUPLICATE_USAGES 0x001 |
MODULE_DEVICE_TABLE |
( |
hid |
, |
|
|
ntrig_devices |
|
|
) |
| |
module_exit |
( |
ntrig_exit |
| ) |
|
module_init |
( |
ntrig_init |
| ) |
|
module_param |
( |
activate_slack |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
deactivate_slack |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
activation_width |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
activation_height |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
min_width |
, |
|
|
"Minimum touch contact width to accept." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
activate_slack |
, |
|
|
"Number of touch frames to ignore at ""the start of touch input." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
deactivate_slack |
, |
|
|
"Number of empty frames to ignore before ""deactivating touch." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
activation_width |
, |
|
|
"Width threshold to immediately start ""processing touch events." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
activation_height |
, |
|
|
"Height threshold to immediately start ""processing touch events." |
|
|
) |
| |