summaryrefslogtreecommitdiff
path: root/inputdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'inputdev.h')
-rw-r--r--inputdev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/inputdev.h b/inputdev.h
index 5d4a2ed..7fbfff0 100644
--- a/inputdev.h
+++ b/inputdev.h
@@ -43,6 +43,9 @@ private:
cMutex dev_mutex_;
+ unsigned int repeat_delay_ms_;
+ unsigned int repeat_rate_ms_;
+
cInputDeviceController(cInputDeviceController const &);
bool open_generic(int fd_udev);
@@ -76,6 +79,9 @@ public:
void remove_device(char const *dev);
void remove_device(class cInputDevice *dev);
+ bool set_repeat_rate(unsigned int delay_ms,
+ unsigned int rate_ms);
+
static void close(int &fd);
bool Put(uint64_t Code, bool Repeat, bool Release) {