Commit graph

155 commits

Author SHA1 Message Date
Kamil Trzciński 1abb545357 Organize all context menu options 2022-12-12 18:54:28 +01:00
Kamil Trzciński 7079200b60 Update used links in application 2022-12-12 18:47:54 +01:00
Kamil Trzciński 6947f4615c Log exceptions in various places 2022-12-12 18:44:02 +01:00
Kamil Trzciński 10a8598b82 Add Sentry error tracking 2022-12-12 18:31:29 +01:00
Kamil Trzciński bdcb70d685 Split Profiles into Profiles/Default and Profiles/Predefined 2022-12-12 11:46:54 +01:00
Kamil Trzciński 86b73001a2 Add minimum pressed time to X360Controller 2022-12-12 11:45:30 +01:00
Kamil Trzciński 142b8cc2e9 Allow to Overwrite keyboard and mouse button state 2022-12-12 11:45:29 +01:00
Kamil Trzciński 801f32a719 Improve VirtualKeyCode to ToWindowsInput mapping 2022-12-12 11:45:29 +01:00
Kamil Trzciński 26171639eb Improve VirtualX360Code to ToViGEm mapping 2022-12-12 11:42:38 +01:00
Kamil Trzciński 36d0169119 Some icons are not content 2022-12-12 11:41:20 +01:00
Kamil Trzciński 0ac3618095 Fix Use X360 with Steam that was broken with 0.5.33 2022-12-12 10:04:15 +01:00
Kamil Trzciński 2941f66230 Add Setup.exe installer to install all except RTSS 2022-12-11 14:06:46 +01:00
Kamil Trzciński 2259e17b21 Add Updater.exe that can update to latest release and debug 2022-12-11 02:35:46 +01:00
Kamil Trzciński 275ce48509 Depend on GetCursorPos to detect SAS 2022-12-10 17:42:27 +01:00
Kamil Trzciński 4b66119d57 Support -run-on-startup on command line 2022-12-10 11:23:47 +01:00
Kamil Trzciński 70492acd74 Change ShowTouchKeyboard to be KeyboardStyles 2022-12-10 11:08:48 +01:00
Kamil Trzciński 77f36bbced Add help and donate labels 2022-12-10 11:08:48 +01:00
Kamil Trzciński 4d138a9bc0 Swap STEAM+Menu and STEAM+Options 2022-12-10 11:08:45 +01:00
Kamil Trzciński 45ab31ddcf DEBUG allows to keep X360 controller always connected 2022-12-10 10:45:37 +01:00
Kamil Trzciński 8ff22739c5 Recreate X360 device on fatal failure (might happen after resume) 2022-12-10 10:44:43 +01:00
Kamil Trzciński fdb94c42ed Move LizardMouse/Buttons into DEBUG settings 2022-12-10 10:44:41 +01:00
Kamil Trzciński ef73516bfe Update Mappings to Shortcuts and all links 2022-12-10 10:21:32 +01:00
Kamil Trzciński fec7e87c21 Detect SAS (Secure Attention Sequence) in a way that does not prevent screen sleep 2022-12-10 10:18:21 +01:00
Kamil Trzciński 2052724370 Get rid of ProfileName and replace it with ProfileStringConverter 2022-12-08 11:23:15 +01:00
Kamil Trzciński 1d6043cab0 Store PowerControl settings in .ini 2022-12-08 10:50:08 +01:00
Kamil Trzciński 658898d632 All SteamController settings are stored in .ini file in root folder 2022-12-08 10:49:06 +01:00
Kamil Trzciński 9adb25be21 Allow to assign BackPanel keys to X360 controller (breaks all current configs to set mappings) 2022-12-08 01:48:14 +01:00
Kamil Trzciński 476ca5a5e9 Simplify Xbox360Controller 2022-12-08 01:19:55 +01:00
Kamil Trzciński 821ee889d1 Refine description of SteamControllerConfigs 2022-12-06 21:53:15 +01:00
Kamil Trzciński a69f2157eb Auto-scale SteamController settings with screen DPI 2022-12-06 21:53:15 +01:00
Kamil Trzciński c815441f75 Change default intensity from 5 to 2 for haptics 2022-12-06 21:26:15 +01:00
Kamil Trzciński a75d9a35c3 Make SteamControllerConfigs enabled by default 2022-12-06 21:23:24 +01:00
Kamil Trzciński eb37020803 Detect GamePad UI open temporarily for controller layout 2022-12-06 21:19:10 +01:00
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
Kamil Trzciński aeb035da5d Allow to configure StartupProfile in SteamController.dll.config 2022-11-27 15:01:15 +01:00
Kamil Trzciński 77b3c062b5 STEAM+B will kill foreground process if hold longer than 3s
This will kill the same process that was last time when sending ALT+F4
2022-11-27 14:48:03 +01:00
Kamil Trzciński 7fa9fb38c6 Make Consumed to be String for SteamAction to fix regression with types 2022-11-27 14:48:03 +01:00
Kamil Trzciński 8149bf28c9 Move STEAM+DPadUp into AdditionalShortcuts 2022-11-27 14:48:03 +01:00
Kamil Trzciński 8fb4571b21 Configure Steam to enable or disable Steam/X360 Controllers
- Allow to configure Steam controller blacklisting to enable X360 exclusive mode.
- This allows to switch seemlessly between different modes of operation.
- This also changes how application and when detects Steam.
2022-11-27 14:36:34 +01:00
Kamil Trzciński aafe040e12 Make KeyboardController to generate KeyRepeats 2022-11-27 14:35:49 +01:00
Kamil Trzciński 6da5a9796c Simplify DeltaValueMode 2022-11-27 10:01:27 +01:00
Kamil Trzciński 4c016b33b9 Fix code formatting for DefaultGuideShortcutsProfile 2022-11-27 09:52:31 +01:00
Kamil Trzciński 0aa535800c Move SteamController.SteamAction to SteamAction 2022-11-27 09:52:31 +01:00
Kamil Trzciński 8f69ec772b Improve method visibility 2022-11-27 09:27:19 +01:00
CelesteHeartsong 509bc588a3
Add Steam+DpadUP binding (#8)
* Add Steam+DpadUP binding [ci skip]

Windows on SteamDeck generally needs a hotkey available to use with upscaling applications as many games crash when attempting to render exclusive fullscreen.

Added the following binding:
- Steam + DPadUP = Ctrl+Alt+U

* Include new Steam+DPadUP binding in readme

Added keybind to table list. Included instructions on how the binding can be used to set up a full screen scaling toggle.
2022-11-27 10:26:43 +01:00
Kamil Trzciński 11e056904d Fix LT/RT to trigger up to 50%, instead of 100% 2022-11-27 00:00:59 +01:00
Kamil Trzciński 1c2980976f Hide Use Lizard Mouse/Buttons as it does something different 2022-11-26 23:52:48 +01:00
Kamil Trzciński b977003efa Maybe will show notification on controller changed 2022-11-26 14:48:58 +01:00
Kamil Trzciński 5d653a3342 Remove mouse on RStick in X360 mode 2022-11-26 13:56:17 +01:00
Kamil Trzciński 3947dbc4ec Fix incorrect CurrentProfile in SteamController 2022-11-26 13:56:17 +01:00
Kamil Trzciński bad617549e Add Haptic feedback and selectable profiles 2022-11-26 10:19:50 +01:00