Media keys working again
This commit is contained in:
@@ -25,6 +25,11 @@ public:
|
||||
// Presses and releases every step of the shortcut in order.
|
||||
void play(const std::vector<gkeymapper::ShortcutStep>& steps);
|
||||
|
||||
// Presses and releases a single Linux key code. The media keys are replayed
|
||||
// with this: the keyboard reports them on its own (see README), so the daemon
|
||||
// passes them on unchanged instead of turning them into a mapping.
|
||||
void tap(unsigned short code);
|
||||
|
||||
private:
|
||||
void emit(unsigned short type, unsigned short code, int value);
|
||||
void sync();
|
||||
|
||||
Reference in New Issue
Block a user