Commit graph

26 commits

Author SHA1 Message Date
2ecc482533 Configure all deps in workspace 2024-12-04 20:20:17 +01:00
cff933b0bf Add and fix more lints 2024-12-04 20:14:41 +01:00
3a3d42bcf3 Fix clippy warning 2024-04-25 20:38:43 +02:00
db529688e9 Use cargo workspace lints 2024-04-25 20:38:21 +02:00
e0948c4f1c Fix duplicated key presses on windows 2024-01-03 23:51:20 +01:00
39a4f29a2a Update dependencies 2023-12-28 20:05:18 +01:00
101d36cd45 Provide list of key groups in config crate
This also fixes the f1 menu not displaying the room group.
2023-04-30 22:12:21 +02:00
b6fdc3b7e8 Parse and show space key as "space" 2023-04-29 15:04:37 +02:00
591807dd55 Fix handling of shift for KeyCode::Char 2023-04-29 01:17:45 +02:00
9bc6931fae Migrate input handling to new bindings 2023-04-29 01:17:45 +02:00
e5960b8eda Include more things in InputEvent 2023-04-29 01:17:45 +02:00
6b05a2a06d Fix modifiers being capitalized 2023-04-29 01:17:45 +02:00
1ce31b6677 Always show all key bindings in F1 menu 2023-04-29 01:17:45 +02:00
51b1953207 Fix "any" matching no modifiers 2023-04-29 01:17:45 +02:00
36c5831b9b Simplify InputEvent
Now that I've decided the F1 menu should always show all key bindings,
there is no need for the InputEvent to be so complex.
2023-04-27 21:46:33 +02:00
64a7e7f518 Simplify KeyGroup
The trait will only be used for documenting the key bindings in the F1
menu from now on. The InputEvent will be directly match-eable against
KeyBinding-s, which should suffice for input event handling.
2023-04-27 21:37:48 +02:00
6ce2afbc9f Rename Input to InputEvent and add paste events 2023-04-27 21:10:34 +02:00
fdc46aa3b8 Rename Group to KeyGroup 2023-04-27 20:56:41 +02:00
6c99f7a53a Rename Group::Action to Event 2023-04-27 20:39:33 +02:00
9f24cb2de1 Fix function key parsing 2023-04-27 18:30:56 +02:00
e1c3a463b2 Move key binding groups to config crate 2023-04-27 15:31:49 +02:00
478e3e767c Add some key binding groups 2023-04-27 11:08:14 +02:00
17acdd0575 Add Group trait 2023-04-27 10:38:17 +02:00
072290511b Query key bindings against input event 2023-04-27 10:38:17 +02:00
3fbb9127a6 Model and (de-)serialize key bindings 2023-04-27 10:38:17 +02:00
abedc5f194 Create cove-input crate 2023-04-26 14:58:36 +02:00