|
Linux Kernel
3.7.1
|
#include <linux/input.h>#include <linux/usb.h>#include <linux/hid.h>#include "usbhid/usbhid.h"#include "hid-lg.h"#include "hid-ids.h"Go to the source code of this file.
Data Structures | |
| struct | lg4ff_device_entry |
| struct | lg4ff_wheel |
| struct | lg4ff_native_cmd |
| struct | lg4ff_usb_revision |
Macros | |
| #define | DFGT_REV_MAJ 0x13 |
| #define | DFGT_REV_MIN 0x22 |
| #define | DFP_REV_MAJ 0x11 |
| #define | DFP_REV_MIN 0x06 |
| #define | FFEX_REV_MAJ 0x21 |
| #define | FFEX_REV_MIN 0x00 |
| #define | G25_REV_MAJ 0x12 |
| #define | G25_REV_MIN 0x22 |
| #define | G27_REV_MAJ 0x12 |
| #define | G27_REV_MIN 0x38 |
| #define | DFP_X_MIN 0 |
| #define | DFP_X_MAX 16383 |
| #define | DFP_PEDAL_MIN 0 |
| #define | DFP_PEDAL_MAX 255 |
| #define | to_hid_device(pdev) container_of(pdev, struct hid_device, dev) |
| #define | CLAMP(x) do { if (x < 0) x = 0; else if (x > 0xff) x = 0xff; } while (0) |
Functions | |
| int | lg4ff_adjust_input_event (struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) |
| int | lg4ff_init (struct hid_device *hid) |
| int | lg4ff_deinit (struct hid_device *hid) |
| #define DFGT_REV_MAJ 0x13 |
Definition at line 35 of file hid-lg4ff.c.
| #define DFGT_REV_MIN 0x22 |
Definition at line 36 of file hid-lg4ff.c.
| #define DFP_PEDAL_MAX 255 |
Definition at line 49 of file hid-lg4ff.c.
| #define DFP_PEDAL_MIN 0 |
Definition at line 48 of file hid-lg4ff.c.
| #define DFP_REV_MAJ 0x11 |
Definition at line 37 of file hid-lg4ff.c.
| #define DFP_REV_MIN 0x06 |
Definition at line 38 of file hid-lg4ff.c.
| #define DFP_X_MAX 16383 |
Definition at line 47 of file hid-lg4ff.c.
| #define DFP_X_MIN 0 |
Definition at line 46 of file hid-lg4ff.c.
| #define FFEX_REV_MAJ 0x21 |
Definition at line 39 of file hid-lg4ff.c.
| #define FFEX_REV_MIN 0x00 |
Definition at line 40 of file hid-lg4ff.c.
| #define G25_REV_MAJ 0x12 |
Definition at line 41 of file hid-lg4ff.c.
| #define G25_REV_MIN 0x22 |
Definition at line 42 of file hid-lg4ff.c.
| #define G27_REV_MAJ 0x12 |
Definition at line 43 of file hid-lg4ff.c.
| #define G27_REV_MIN 0x38 |
Definition at line 44 of file hid-lg4ff.c.
| #define to_hid_device | ( | pdev | ) | container_of(pdev, struct hid_device, dev) |
Definition at line 51 of file hid-lg4ff.c.
| int lg4ff_adjust_input_event | ( | struct hid_device * | hid, |
| struct hid_field * | field, | ||
| struct hid_usage * | usage, | ||
| __s32 | value, | ||
| struct lg_drv_data * | drv_data | ||
| ) |
Definition at line 162 of file hid-lg4ff.c.
| int lg4ff_deinit | ( | struct hid_device * | hid | ) |
Definition at line 675 of file hid-lg4ff.c.
| int lg4ff_init | ( | struct hid_device * | hid | ) |
Definition at line 487 of file hid-lg4ff.c.
1.8.2