#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb/input.h>
#include "usb.h"
#include "debug.h"
#include "unusual_onetouch.h"
Go to the source code of this file.
|
#define | ONETOUCH_PKT_LEN 0x02 |
|
#define | ONETOUCH_BUTTON KEY_PROG1 |
|
#define | UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, vendorName, productName, useProtocol, useTransport, initFunction, flags) |
|
#define | UNUSUAL_DEV(idVendor, idProduct, bcdDeviceMin, bcdDeviceMax, vendor_name, product_name, use_protocol, use_transport, init_function, Flags) |
|
#define ONETOUCH_PKT_LEN 0x02 |
#define UNUSUAL_DEV |
( |
|
id_vendor, |
|
|
|
id_product, |
|
|
|
bcdDeviceMin, |
|
|
|
bcdDeviceMax, |
|
|
|
vendorName, |
|
|
|
productName, |
|
|
|
useProtocol, |
|
|
|
useTransport, |
|
|
|
initFunction, |
|
|
|
flags |
|
) |
| |
Value:{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
Definition at line 83 of file onetouch.c.
#define UNUSUAL_DEV |
( |
|
idVendor, |
|
|
|
idProduct, |
|
|
|
bcdDeviceMin, |
|
|
|
bcdDeviceMax, |
|
|
|
vendor_name, |
|
|
|
product_name, |
|
|
|
use_protocol, |
|
|
|
use_transport, |
|
|
|
init_function, |
|
|
|
Flags |
|
) |
| |
Value:{ \
.vendorName = vendor_name, \
.productName = product_name, \
.useProtocol = use_protocol, \
.useTransport = use_transport, \
.initFunction = init_function, \
}
Definition at line 83 of file onetouch.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
onetouch_usb_ids |
|
|
) |
| |
module_usb_driver |
( |
onetouch_driver |
| ) |
|