Jonathan Daugherty
e74623c323
keyDispatcher: fail with collision info if collisions are detected
...
This fixes a critical problem in KeyDispatcher where it would previously
silently ignore all but one handler for a specified key if the key
configuration resulted in the same key being mapped to multiple handlers
(either by event or by statically specified key).
2022-08-18 18:49:43 -07:00
Jonathan Daugherty
9cc2d5eafb
reverseKeyMappings -> keyEventMappings
2022-08-18 18:22:50 -07:00
Jonathan Daugherty
4c8fc07178
CustomKeybindingDemo: add extra details about keybinding collision checking
2022-08-18 16:21:43 -07:00
Jonathan Daugherty
4e6b90d928
KeyConfig: add reverseKeyMappings to allow applications to check for colliding bindings
...
This change also adjusts KeyConfig's internals so that collisions are
preserved since they may not actually be bad.
2022-08-18 14:59:00 -07:00
Jonathan Daugherty
f6727b114d
CustomKeybindingDemo: better state field name
2022-08-08 14:21:19 -07:00
Jonathan Daugherty
8763de2df9
CustomKeybindingDemo: nit
2022-08-08 14:20:39 -07:00
Jonathan Daugherty
f4b06804da
CustomKeybindingDemo: nit
2022-08-08 14:19:50 -07:00
Jonathan Daugherty
776f631f23
CustomKeybindingDemo: UI nit
2022-08-08 14:15:09 -07:00
Jonathan Daugherty
b5b1f9329e
Keybindings.Pretty: add keybindingHelpBaseAttr, eventNameAttr, eventDescriptionAttr, and keybindingAttr and show off in demo program
2022-08-08 14:08:47 -07:00
Jonathan Daugherty
45a6d57717
CustomKeybindingDemo: add helpful tip
2022-08-04 19:23:34 -07:00
Jonathan Daugherty
3817b456e8
CustomKeybindingDemo: layout improvements
2022-08-04 19:21:38 -07:00
Jonathan Daugherty
b8735a16bc
CustomKeybindingDemo: UI nit
2022-08-04 19:21:30 -07:00
Jonathan Daugherty
8f2716ab2a
CustomKeybindingDemo: comment
2022-08-04 19:16:44 -07:00
Jonathan Daugherty
b0fbd7f638
CustomKeybindingDemo: improve comments
2022-08-04 19:16:15 -07:00
Jonathan Daugherty
1ba4c0974d
Comment nit
2022-08-04 19:13:13 -07:00
Jonathan Daugherty
ad91a0b727
CustomKeybindingDemo: add a working example INI file to load
2022-08-04 19:10:31 -07:00
Jonathan Daugherty
d10e6cd374
CustomKeybindingDemo: demonstrate loading custom bindings
2022-08-04 19:07:47 -07:00
Jonathan Daugherty
bf58926132
Whitespace
2022-08-03 08:19:43 -07:00
Jonathan Daugherty
6c0fb8da24
CustomKeybindingDemo: nit
2022-08-02 20:13:22 -07:00
Jonathan Daugherty
4225f813a2
CustomKeybindingDemo: add another fixed key handler
2022-08-02 20:13:01 -07:00
Jonathan Daugherty
a768c6600d
CustomKeybindingDemo: nit
2022-08-02 20:10:33 -07:00
Jonathan Daugherty
6bc22b87d7
Binding: ignore modifier order and duplication
2022-08-02 20:09:13 -07:00
Jonathan Daugherty
b3cb7a54b4
CustomKeybindingDemo: edit
2022-08-02 19:52:14 -07:00
Jonathan Daugherty
f6ec9233ab
CustomKeybindingDemo: comment
2022-08-02 19:51:05 -07:00
Jonathan Daugherty
dc783e4126
CustomKeybindingDemo: comment
2022-08-02 19:50:13 -07:00
Jonathan Daugherty
d7f8e4daf4
CustomKeybindingDemo: add an example of a hard-coded key event handler
2022-08-02 19:48:47 -07:00
Jonathan Daugherty
286c88b137
CustomKeybindingDemo: comment
2022-08-02 19:44:44 -07:00
Jonathan Daugherty
5996440eb3
CustomKeybindingDemo: comment
2022-08-02 19:44:05 -07:00
Jonathan Daugherty
1807e6d8d9
CustomKeybindingDemo: comments
2022-08-02 19:42:57 -07:00
Jonathan Daugherty
ccad8abb27
keybindingHelpWidget: do not require input to come with a section heading
2022-08-02 19:40:23 -07:00
Jonathan Daugherty
fec4c11477
Add initial custom keybinding demo program
2022-08-02 19:24:35 -07:00