aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-01-08 15:24:37 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2021-01-08 15:24:37 +0200
commitf71d11b5ea1349f518fa5cd22b5cdfbec96af5d3 (patch)
treec2366732025215c0dcd7ca15bb7a048bd561fd6c /hid-tmt300rs.h
parent45af2075a74ae738646028a44ecaa876f6e4c2dc (diff)
downloadhid-tmff2-f71d11b5ea1349f518fa5cd22b5cdfbec96af5d3.tar.gz
hid-tmff2-f71d11b5ea1349f518fa5cd22b5cdfbec96af5d3.zip
Made timer user configurable
Diffstat (limited to 'hid-tmt300rs.h')
-rw-r--r--hid-tmt300rs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid-tmt300rs.h b/hid-tmt300rs.h
index 7069394..2eef09d 100644
--- a/hid-tmt300rs.h
+++ b/hid-tmt300rs.h
@@ -32,8 +32,6 @@ unsigned long lock_flags;
spinlock_t data_lock;
unsigned long data_flags;
-static int timer_msecs = DEFAULT_TIMER_PERIOD;
-
static const signed short t300rs_ff_effects[] = {
FF_CONSTANT,
FF_RAMP,
@@ -76,6 +74,8 @@ struct t300rs_device_entry {
spinlock_t lock;
unsigned long lock_flags;
+
+ int open_count;
int max_id;
u16 range;