Commit Graph

58 Commits (c1e9e0c691a3f468bcf8c77103e1c3d2f1fed0a4)

Author SHA1 Message Date
Greenlamp c1e9e0c691 fix icons issue + identified a new bug => new test scenario 2024-05-14 18:20:01 +02:00
Greenlamp a2eab6259b handled delete bind and assign back 2024-05-14 04:05:32 +02:00
Greenlamp b5841471d2 added ogIcons 2024-05-14 01:09:53 +02:00
Greenlamp 66414e9bbc fix bug save bindings 2024-05-14 00:59:06 +02:00
Greenlamp e3685d2d19 refactor + cleanup + alt keyboard + tests 2024-05-14 00:21:51 +02:00
Greenlamp 665ecc0e4b effective keyboard key swap 2024-05-13 02:51:59 +02:00
Greenlamp b8856d246e renamed azerty to default since it's not usefull anymore 2024-05-13 02:32:25 +02:00
Greenlamp 769412e452 game is using the custom config with keyboard 2024-05-13 02:29:15 +02:00
Greenlamp e798f72a63 fix imports 2024-05-13 02:03:06 +02:00
Greenlamp 43b459aba1 finished the refactor to use abstract-settings-ui-handler 2024-05-13 01:37:33 +02:00
Greenlamp 8205df46df fix transition bug 2024-05-12 23:28:02 +02:00
Greenlamp 164838c669 input detection for keyboards is working 2024-05-12 23:11:20 +02:00
Greenlamp c6d3f93b3f first iteration of KeyboardBindingUiHandler 2024-05-12 21:22:32 +02:00
Greenlamp c963970adf added key list in keyboard setting binding 2024-05-12 21:03:48 +02:00
Greenlamp d9d455f317 create folder for settings in ui folder 2024-05-12 16:51:18 +02:00
Greenlamp a2dd704737 added snes icons 2024-05-12 14:18:48 +02:00
Greenlamp 3938975710 fix snes controller support 2024-05-12 13:54:49 +02:00
Greenlamp ba42f072e1 update comment in inputs-controller.ts 2024-05-12 13:40:16 +02:00
Greenlamp 8f4669cab6 added comment for gamepad-binding-ui-handler.ts 2024-05-12 13:26:00 +02:00
Greenlamp 6f8601815f renaming + small cleanup 2024-05-12 03:22:37 +02:00
Greenlamp bf8f62bc9e renaming + fix a display bug 2024-05-12 01:59:38 +02:00
Greenlamp 5076625259 added placeholder when nogamepads is detected 2024-05-12 01:27:17 +02:00
Greenlamp fc2a0e06ec better layout management 2024-05-11 23:33:24 +02:00
Greenlamp 83a26d8e58 get missmatch function call 2024-05-11 18:42:32 +02:00
Greenlamp e5e100990e key displayed are correctly updated when swap or controller change + custom mapping is effective everywhere 2024-05-11 17:54:34 +02:00
Greenlamp 5ff09389db swap is working + display current assignation on rebinding 2024-05-11 15:43:38 +02:00
Greenlamp cfa919b46c added already assigned key in the UI 2024-05-11 14:51:01 +02:00
Greenlamp 7ced12e13b refactored input-controller to use config 2024-05-11 14:31:48 +02:00
Greenlamp cffcf9afd0 cleaned up a bit the code + added some more config 2024-05-11 13:33:13 +02:00
Greenlamp 931ec61f87 commented gamepad fallback on disconnect 2024-05-11 12:45:45 +02:00
Greenlamp 043216aa75 adding essential data into config file 2024-05-11 02:36:47 +02:00
Greenlamp 022c4351d3 adding essential data into config file 2024-05-11 02:33:41 +02:00
Greenlamp ef4bb9c3b5 added ui to confirm or cancel the new input 2024-05-11 01:26:06 +02:00
Greenlamp f81df957a5 Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/inputs-controller.ts
	src/system/settings.ts
2024-05-10 15:43:59 +02:00
Greenlamp2 22a73642df
Fix - Gamepad support setting "lost focus" behaviour (#658)
* fix "lost focus behaviour" when disabling gamepad and thus repeating RIGHT key

* added some comment

* added full TSDoc, helped by chatGPT, refined every entry manually of course
2024-05-10 09:26:45 -04:00
Greenlamp c72a50a38c added controller input sprite 2024-05-10 15:02:00 +02:00
Greenlamp 42ef4b963b Merge branch 'fix/gamepad_support_disable_focus' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/inputs-controller.ts
2024-05-10 02:23:08 +02:00
Greenlamp 58845410e6 added full TSDoc, helped by chatGPT, refined every entry manually of course 2024-05-10 02:16:03 +02:00
Greenlamp 0d2eb1d983 working button detection in menu 2024-05-09 23:23:09 +02:00
Greenlamp 5c9af9bb3c Merge branch 'fix/gamepad_support_disable_focus' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/inputs-controller.ts
	src/system/settings.ts
2024-05-09 20:25:11 +02:00
Greenlamp 22e7845480 fix changes made while commenting 2024-05-09 17:38:59 +02:00
Greenlamp ecbcb0bf70 added some comment 2024-05-09 17:14:59 +02:00
Greenlamp d34d48f1b5 remove localStorage for gamepads connected + fix lost focus effect on controller change + disconnect/reconnect handling 2024-05-09 17:02:07 +02:00
Greenlamp b58a444f80 remove localStorage for gamepads connected + fix lost focus effect on controller change 2024-05-09 12:55:00 +02:00
Greenlamp 92c493fe83 added some comment 2024-05-09 04:06:32 +02:00
Greenlamp e162edf6f5 restrict inputs to chosen controller 2024-05-09 03:37:08 +02:00
Greenlamp b35af93ecb added setting selector for controller like lang + populate the setting with detected devices 2024-05-09 03:33:25 +02:00
Greenlamp d4e1834e7c Merge branch 'fix/gamepad_support_disable_focus' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/inputs-controller.ts
	src/system/settings.ts
2024-05-09 01:32:14 +02:00
Greenlamp 45e40f66ce fix "lost focus behaviour" when disabling gamepad and thus repeating RIGHT key 2024-05-08 23:07:17 +02:00
Greenlamp 80e8d43c56 added basic key settings 2024-05-08 17:16:20 +02:00