This is great! It frees up R3 for use with another mod. Used R3 for Diving now in the Swim Mod, works great!
Any chance of maybe getting some more buttons disabled? Personally, I never really needed the Y and B button along with the start button to bring up the farmer menus and would be cool if we can do / get something like that as well for one of those other buttons!
Wait, ... so, it does disable the right joystick ... but it also disables the trackpad on a PS4 controller. I've stopped pulling up the chat and can finally assign the R3 in game in the GMCM settings, but I've lost 3 assignments through the Steam Configurator for the left, center, right trackpad.
While I still prefer that over pulling up that stupid chat, is there something that can be done to fix removing the trackpad?
Unfortunately I'm not able to recreate this with my own PS4 controller. The trackpad does not seem to count as a button press in SMAPI at all (for debug purposes, I made it print a message in the console for every button press, and the trackpad printed nothing at all) so it shouldn't be disabling it, and I was still able to reassign the trackpad to different inputs using Steam Input and use it normally. Are you 100% certain that it is caused by this mod and not some weird Steam Input issue? For reference, this is the entirety of this mod:
So it's only checking for the Right Stick specifically. If it is actually an issue with this mod/SMAPI's button detection, I'm afraid I don't think there's anything I can do if it is for some reason being counted as a Right Stick click in your case.
Thanks for looking! I have been told on the Discord that it's "typical Steam Input fuckery". I'm trying now to play without Steam Input and it seems ok. But it does mean that I've lost the trackpad (which had left, middle, and right touch bindings). I am also going to try and use DS4Windows and see if that works.
If you were using the trackpack buttons directly before, it may help if you instead assign them to different keyboard buttons through Steam Input? E.g. instead of having "Left Trackpad" be "Left Trackpad" you assign it to act as the letter "L" instead (just as an example)? Aside from that though I've got nothing, my apologies ):
Yes, that's what I was doing before with Steam Input -- it was set up to do a different keyboard key for each of the 3 positions. But I've been playing in game, and even though I've lost those 3, it's still preferable to having that goddamned "chat" bar open up constantly. So, thank you so much for putting this out! I am chalking it up to "Steam Input = shite"
Thank you SO SO SO MUCH for this! It seems stupid simple on paper but this has been incredibly frustrating to find! Without this mod, not only can we not use the R3 as a mod key, but we also repeatedly accidentally open the stupid chat! Please have some kudos!
This mod is 3 lines of code that only affects the right joystick. If your controller is not working, that's either a controller issue or a Steam Input issue.
I'm using an Xbox Wireless Controller. I had "Steam Input" enabled on Steam and the recommended template was being used. Disabling "Steam Input" made it work properly. Thanks.
15 comments
Any chance of maybe getting some more buttons disabled? Personally, I never really needed the Y and B button along with the start button to bring up the farmer menus and would be cool if we can do / get something like that as well for one of those other buttons!
Definitely Endorsing, nice job!
While I still prefer that over pulling up that stupid chat, is there something that can be done to fix removing the trackpad?
Helper.Events.Input.ButtonPressed += (sender, e) => {
if (e.Button is SButton.RightStick) Helper.Input.Suppress(e.Button);
};
So it's only checking for the Right Stick specifically. If it is actually an issue with this mod/SMAPI's button detection, I'm afraid I don't think there's anything I can do if it is for some reason being counted as a Right Stick click in your case.
I have been told on the Discord that it's "typical Steam Input fuckery".
I'm trying now to play without Steam Input and it seems ok. But it does mean that I've lost the trackpad (which had left, middle, and right touch bindings). I am also going to try and use DS4Windows and see if that works.
But I've been playing in game, and even though I've lost those 3, it's still preferable to having that goddamned "chat" bar open up constantly. So, thank you so much for putting this out!
I am chalking it up to "Steam Input = shite"
Please have some kudos!
However, it stopped accepting all controller input for me.
I had "Steam Input" enabled on Steam and the recommended template was being used.
Disabling "Steam Input" made it work properly.
Thanks.