summaryrefslogtreecommitdiff
path: root/hid/lib/drivers/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'hid/lib/drivers/driver.h')
-rw-r--r--hid/lib/drivers/driver.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/hid/lib/drivers/driver.h b/hid/lib/drivers/driver.h
index 520c7456..ea209c2e 100644
--- a/hid/lib/drivers/driver.h
+++ b/hid/lib/drivers/driver.h
@@ -25,18 +25,21 @@
namespace DRIVERS {
- enum type {
- USB_MOUSE_ABSOLUTE,
- USB_MOUSE_RELATIVE,
- USB_MOUSE_ABSOLUTE_WIN98,
- };
+ enum type {
+ DUMMY = 0,
+ USB_MOUSE_ABSOLUTE,
+ USB_MOUSE_RELATIVE,
+ USB_MOUSE_ABSOLUTE_WIN98,
+ USB_KEYBOARD,
+ PS2_KEYBOARD,
+ };
- class Driver {
- public:
- Driver(type _type) : _type(_type) {}
- uint8_t getType() { return _type; }
+ class Driver {
+ public:
+ Driver(type _type) : _type(_type) {}
+ uint8_t getType() { return _type; }
- private:
- type _type;
- };
+ private:
+ type _type;
+ };
}