Commit Graph

87 Commits

Author SHA1 Message Date
82c9a229da rename key request to key query 2025-08-03 16:18:03 +10:00
c1e4cc93a9 rename key props physical_keycode to keycode 2025-08-03 03:54:24 +10:00
e9a6d5ed5c move sort func to key helper 2025-08-03 03:52:29 +10:00
8df1181be3 rename KeyAdjacency to KeyHelper and move is_adjacent to GameKey 2025-08-03 03:40:46 +10:00
e2c67b79a9 remove @export from props in game key class 2025-08-03 03:30:18 +10:00
dc7f20face simplify check for no keyboard in game key ready 2025-08-03 03:28:47 +10:00
aa44311c1f make keyboard and keys tool scripts and add editor keys generation 2025-08-03 03:03:42 +10:00
c5c0f50aad add emit_player_key_change on ready and add extra checks for empty _current_key 2025-08-03 00:41:15 +10:00
7966e2073c rename _push_outwards to _push_radial 2025-08-03 00:13:57 +10:00
9cf81ffe62 add key animation when player lands on it 2025-08-03 00:03:47 +10:00
f1af3e00cc change keyboard pressed positions erasing to just setting false 2025-08-02 23:38:08 +10:00
6f399db783 add player with basic movement 2025-08-02 22:51:10 +10:00
acbad4aadf make game key keyboard property private 2025-08-02 21:42:35 +10:00
5b32ea57d6 add lights to visualize key adjacency 2025-08-02 19:41:17 +10:00
c058c274ac add extra check for 'KEY_NONE' in game key input 2025-08-02 18:23:10 +10:00
0376dd6450 add extra check for space when setting labels and rename 'is_char' to 'is_unicode' 2025-08-02 18:17:12 +10:00
e967664b73 move is_configuring to keyboard class and add pushing animations 2025-08-02 12:04:49 +10:00
782e24e411 add shaking when changing configuring state 2025-08-02 11:52:07 +10:00
ead41f16d5 move _set_keyboard_pressed_position to _on_keyboard_layout_size_changed 2025-08-02 11:36:58 +10:00
2863a7fc7d add sorting to requested keys 2025-08-02 11:05:44 +10:00
fab669738d replace static key scene with a local var 2025-08-02 10:44:29 +10:00
a6e31e55ed add ability to get keyboard keys by filter 2025-08-02 10:39:33 +10:00
2217bf76d1 replace unknown and special keys with none 2025-08-02 10:04:33 +10:00
b046094f82 add check for pivot when adding scaling keys with gaps 2025-08-02 09:34:03 +10:00
21b8c41a9f add key rotation damping 2025-08-02 08:41:32 +10:00
10e4038fea remove extra flags for secondary rect and rotation 2025-08-02 00:14:11 +10:00
6dfeab105e refactor key iteration 2025-08-01 23:59:54 +10:00
5b111d060f change key height and add homing nubs 2025-08-01 17:50:41 +10:00
57b990d76e set center label position 2025-08-01 00:24:41 +10:00
d35d2dc306 fix key sod starting in center instead of default pos 2025-07-31 22:22:48 +10:00
3f8017a030 rewrite layout size calculation 2025-07-31 22:18:48 +10:00
7b8401fb78 add support for key rotation and refactor key generation 2025-07-31 21:22:42 +10:00
b9392fa7d1 add kinesis advantage layout 2025-07-31 14:41:43 +10:00
ab4d3a34d4 tweak _star_pop_offset 2025-07-31 13:18:49 +10:00
154ee3ce5f make _light_energy @onready 2025-07-31 12:53:29 +10:00
87611816c3 add a little pop animation when a new key appears 2025-07-31 12:25:31 +10:00
17d2ea9f1d make sine consider default position instead of current 2025-07-31 12:18:03 +10:00
73ebbfa49d remove check for KEY_LOCATION_UNSPECIFIED 2025-07-31 12:12:29 +10:00
56f69ee6f2 change key size to 1 unit 2025-07-31 11:43:49 +10:00
17e60a9d9f make animations scale with key size 2025-07-31 11:14:04 +10:00
cfe3b504ef simplify key label setting logic 2025-07-31 09:37:18 +10:00
fb872bdcda replace non-printable unknown key keycodes with KEY_SPECIAL 2025-07-31 08:56:41 +10:00
d0f68e4b0b make labels empty for unknown keys 2025-07-31 08:34:08 +10:00
001aaa7648 improve event echo handling and add extra checks for new chars 2025-07-31 05:55:15 +10:00
702c83afb2 rename alt_layout to alt_visual_layout 2025-07-31 03:28:14 +10:00
17a74d173f add support for key y offset 2025-07-31 01:38:06 +10:00
2996de5a18 add typed characters to debug key display 2025-07-30 15:42:26 +10:00
5e5c71d2d1 refactor pressing and position handling 2025-07-30 14:56:15 +10:00
937e1ac62a tweak sod values 2025-07-30 04:06:13 +10:00
80a6b767e6 tweak key pos x calculation 2025-07-30 03:31:49 +10:00