diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-04 20:07:21 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-04 20:07:21 +0100 |
| commit | 0d702b556d0a52f1df53ac1e52fac11b8302783b (patch) | |
| tree | 39e5f11ad37ec82248b7bbdb1ca09587dc511813 /src/managers/input/InputManager.hpp | |
| parent | 9bbae5b8e2e593b04f6505c9f35c7e9affa9ab6f (diff) | |
Add switch device handling and binds
Diffstat (limited to 'src/managers/input/InputManager.hpp')
| -rw-r--r-- | src/managers/input/InputManager.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp index 85af33fc..365b4a6f 100644 --- a/src/managers/input/InputManager.hpp +++ b/src/managers/input/InputManager.hpp @@ -37,9 +37,11 @@ public: void newVirtualKeyboard(wlr_input_device*); void newMouse(wlr_input_device*, bool virt = false); void newTouchDevice(wlr_input_device*); + void newSwitch(wlr_input_device*); void destroyTouchDevice(STouchDevice*); void destroyKeyboard(SKeyboard*); void destroyMouse(wlr_input_device*); + void destroySwitch(SSwitchDevice*); void constrainMouse(SMouse*, wlr_pointer_constraint_v1*); void recheckConstraint(SMouse*); @@ -89,6 +91,9 @@ public: // Touch devices std::list<STouchDevice> m_lTouchDevices; + // Switches + std::list<SSwitchDevice> m_lSwitches; + void newTabletTool(wlr_input_device*); void newTabletPad(wlr_input_device*); void focusTablet(STablet*, wlr_tablet_tool*, bool motion = false); |
