Commit Graph

7 Commits

Author SHA1 Message Date
Jente Hidskes
fc9d9bffc6 Keystroke: remove clear, add cancel 2017-08-01 10:22:34 +01:00
Jente Hidskes
e874c81c69 Merge key mappings with macros 2017-08-01 10:22:34 +01:00
Jente Hidskes
510e3b6b31 ButtonDialog: merge all stack pages into a list
For the user anyway, all different mappings will look the same. It makes
no sense to make this more complicated for them by separating them into
different concepts.
2017-08-01 10:22:34 +01:00
Jente Hidskes
334f3bf27e ButtonDialog: add special mapping page 2017-08-01 10:22:34 +01:00
Jente Hidskes
847d8fcf3a ButtonDialog: add key mapping stack page
ratbag's key mapping signature is forcing us to treat modifiers
different from regular keys. To detect them, we need several workarounds
over Gdk.EventKey which makes the code uglier than it could be. Perhaps
we should just skip this altogether and implement macros only; since
they don't differentiate between modifiers and regular keys all these
workaround can then be removed while providing the same functionality.
2017-08-01 10:22:34 +01:00
Jente Hidskes
0773bbcbca ButtonDialog: add button map page 2017-08-01 10:22:34 +01:00
Jente Hidskes
96a77f024b Add ButtonsPage to configure buttons
This commit adds the initial buttons page and a skeleton configuration
dialog to configure button mappings.
2017-08-01 10:22:34 +01:00