diff options
author | Ken Moore <ken@ixsystems.com> | 2017-01-27 14:22:46 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-01-27 14:22:46 -0500 |
commit | 1ee0abd899e1da60b541110642dcc39e6bb44d7b (patch) | |
tree | ec24c8bf3b27485fdd3fd48cff6d7f5bfc8bdebe /src-qt5/core/lumina-desktop-unified/src-events/events.pri | |
parent | Another large batch of work on the new unified desktop. (diff) | |
download | lumina-1ee0abd899e1da60b541110642dcc39e6bb44d7b.tar.gz lumina-1ee0abd899e1da60b541110642dcc39e6bb44d7b.tar.bz2 lumina-1ee0abd899e1da60b541110642dcc39e6bb44d7b.zip |
Another large update for Lumina 2:
Get the new LShortcutEvents class setup and functional. This is what converts the key presses and mouse clicks into a format that can be scanned for user-defined shortcuts to do things in the session.
NOTES:
The format of the keys.conf files uses "keycodes" (in ascending order") delimited by "+" to make the settings searchable and non-ordered-specific.
Example:
[strict]
22+37+64=logout
This is a shortcut for [L_Ctrl (37), L_Alt (64), Backspace (22)] and it will trigger the start of the logout procedures.
The "strict" section (and it's alternative "desktop" section) determine priority of the shortcut (strict is always evaluated, desktop is only evaluated if the desktop has focus and there is no corresponding "strict" shortcut).
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-events/events.pri')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-events/events.pri | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-events/events.pri b/src-qt5/core/lumina-desktop-unified/src-events/events.pri index b3ca9847..9eec91ca 100644 --- a/src-qt5/core/lumina-desktop-unified/src-events/events.pri +++ b/src-qt5/core/lumina-desktop-unified/src-events/events.pri @@ -2,5 +2,9 @@ SOURCES *= $${PWD}/LXcbEventFilter.cpp HEADERS *= $${PWD}/LXcbEventFilter.h +#Shortcut event files +SOURCES *= $${PWD}/LShortcutEvents.cpp +HEADERS *= $${PWD}/LShortcutEvents.h + #update the includepath so we can just (#include <LXcbEventFilter.h>) as needed without paths INCLUDEPATH *= ${PWD} |