Commit graph

72 commits

Author SHA1 Message Date
Kamil Trzciński
603b3de489 Fix selecting DefaultProfile on startup
Since the controller and mouse might not yet be initialized
forcefully set default profile
2022-12-05 21:09:42 +01:00
Kamil Trzciński
5066f3a0cb Merge X360 with Haptic into X360 profile 2022-12-05 18:39:50 +01:00
Kamil Trzciński
d4b8a09395 Add haptic style setting (disabled, weak, strong) 2022-12-05 18:35:25 +01:00
Kamil Trzciński
0e92640085 Hide Rumble profile from DEBUG 2022-12-05 11:23:40 +01:00
Kamil Trzciński
c130427ac6 Scale haptic intensity 2022-12-05 11:17:46 +01:00
Kamil Trzciński
6173c80bdd Fix haptics not being fired both sides 2022-12-05 09:29:47 +01:00
Kamil Trzciński
0a52c57d59 Allow to select between touch keyboard or CTRL+WIN+O 2022-12-04 21:21:39 +01:00
Kamil Trzciński
c2fa6c3a9d Debounce controller changes from Steam 2022-12-04 21:14:08 +01:00
Kamil Trzciński
4a7909b485 Use SteamControllerConfigsMode.Overwrite for controller configs 2022-12-04 20:59:47 +01:00
Kamil Trzciński
6e84fc2043 Add additional debug information 2022-12-04 20:47:54 +01:00
Kamil Trzciński
b0863b89ef Allow to change scroll direction 2022-12-04 20:39:00 +01:00
Kamil Trzciński
271cb5d94e Allow to select default profile 2022-12-04 20:32:30 +01:00
Kamil Trzciński
f4431105e3 Skip repeated haptic requests 2022-12-04 19:10:59 +01:00
Kamil Trzciński
40da017804 Fix bug with unable to select controller profile from OSD 2022-12-03 20:39:07 +01:00
Kamil Trzciński
19e7ed7012 Allow to lock steam controller locking files
- This locks `controller_neptune` configs when adding steam detection
- This overwrites default desktop/chord template
- This enables a desktop template
2022-12-03 20:39:06 +01:00
Kamil Trzciński
8ffa5d967f Introduce X360 Haptic Profile (in DEBUG) 2022-12-03 20:17:15 +01:00
Kamil Trzciński
a92a0661df Differentiate between rumble and haptics 2022-12-03 17:53:00 +01:00
Kamil Trzciński
19155f678f Add Dispose() to Managers.Manager 2022-12-02 19:46:40 +01:00
Kamil Trzciński
84a9376469 Use hand-mande Settings.cs 2022-12-02 19:46:39 +01:00
Kamil Trzciński
57b36c7e53 Data sharing is part of Manager 2022-12-02 19:46:39 +01:00
Kamil Trzciński
33f9e8581f Re-open Neptune every 10 failures 2022-12-02 19:46:39 +01:00
Kamil Trzciński
b0ae269046 Add ContextThread to manage busy loop 2022-12-02 19:46:39 +01:00
Kamil Trzciński
da7508eb7e Fix beep on controller 2022-11-30 22:55:24 +01:00
Kamil Trzciński
22b5b59003 Remove SteamConfigPath from SteamConfiguration 2022-11-30 11:40:20 +01:00
Kamil Trzciński
8604e67568 Add ContextState to compare all active states in Bulk 2022-11-29 22:50:07 +01:00
Kamil Trzciński
c2f37dedd9 Fix using Playnite to launch Steam game where on exit Desktop was activated 2022-11-29 21:43:29 +01:00
Kamil Trzciński
381f940d8b The X360.Beep() cycles currently connected device 2022-11-29 21:43:29 +01:00
Kamil Trzciński
d9877e5491 Reduce hold for Toggle desktop mode to 2s 2022-11-29 00:17:02 +01:00
Kamil Trzciński
3176ac09dc Fix Process Kill action 2022-11-29 00:17:02 +01:00
Kamil Trzciński
6ea0329cbb Improve profile selection to remove special handling of IsDesktop 2022-11-29 00:17:02 +01:00
Kamil Trzciński
44e5751d75 The X360.Beep() is implemented as a separate device 2022-11-28 20:31:38 +01:00
Kamil Trzciński
558d37e940 Make code lock-less on critical path 2022-11-28 20:31:37 +01:00
Kamil Trzciński
190b14e66f Improve SteamConfiguration performance 2022-11-28 20:28:21 +01:00
Kamil Trzciński
3c209f04b4 Reduce memory allocations in KeyboardController 2022-11-28 19:33:47 +01:00
Kamil Trzciński
e683915a2c Provide currated list of mapping keys (for keyboard) 2022-11-28 19:33:43 +01:00
Kamil Trzciński
f261424932 Fix crash on resume when X360 Controller is in use 2022-11-28 17:33:22 +01:00
Kamil Trzciński
76408ce20b Fix crash on startup when Steam is missing
Fixes https://github.com/ayufan/steam-deck-tools/issues/11
2022-11-28 13:08:46 +01:00
Kamil Trzciński
540e9ed758 Setting Keyboard[KEY] = false and Mouse[KEY] = false does not cancel the press 2022-11-28 11:40:37 +01:00
Kamil Trzciński
370dd89750 Properly apply X360 mappings for Back Panel keys 2022-11-28 11:36:34 +01:00
Kamil Trzciński
76c93c81e5 Fix AccessDenied in Steam Detection 2022-11-28 11:11:30 +01:00
Kamil Trzciński
e52459d02d Do not send repeated haptic if disabled 2022-11-28 11:05:30 +01:00
Kamil Trzciński
7bb6aa0460 Improve implementation of MouseController 2022-11-28 10:46:07 +01:00
Kamil Trzciński
9a286691f4 Use high-precision timer for DeltaTime 2022-11-28 10:46:07 +01:00
Kamil Trzciński
68f51ff4f0 Add configurable BackPanel keys (allowed mappings are subject to change) 2022-11-28 09:34:55 +01:00
Kamil Trzciński
d4392dd47c Append controller_blacklist to config.vdf if missing 2022-11-27 20:15:04 +01:00
Kamil Trzciński
78b8470d3d Only DPad, A, B, L2 and R2 are Lizard Buttons 2022-11-27 20:01:22 +01:00
Kamil Trzciński
ab5c190494 STEAM + 3 dots brings Task Manager (CTRL+SHIFT+ESCAPE) 2022-11-27 19:54:37 +01:00
Kamil Trzciński
bdf9d93690 Fix detection of SAS to switch into full lizard 2022-11-27 19:45:14 +01:00
Kamil Trzciński
c72128fc5c Fix double presses of A(RETURN)/B(BACKSPACE) in Desktop mode 2022-11-27 19:38:24 +01:00
Kamil Trzciński
738b9b72f6 Increase joystick speed and key repeats in Desktop Mode 2022-11-27 15:32:23 +01:00