Add "on" and "off" for the bind of switch (#1342)

This commit is contained in:
riChar
2023-01-08 23:35:24 +08:00
committed by GitHub
parent 50e106f2e6
commit e5dcbf73d8
3 changed files with 23 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ class CKeybindManager {
bool onAxisEvent(wlr_pointer_axis_event*);
bool onMouseEvent(wlr_pointer_button_event*);
void onSwitchEvent(const std::string&);
void onSwitchOnEvent(const std::string&);
void onSwitchOffEvent(const std::string&);
void addKeybind(SKeybind);
void removeKeybind(uint32_t, const std::string&);