Davidobot / BetterJoy

Allows the Nintendo Switch Pro Controller, Joycons and SNES controller to be used with CEMU, Citra, Dolphin, Yuzu and as generic XInput
Other
3.97k stars 351 forks source link

All the buttons are being pressed when trying to play Rime #293

Closed ConjoinedWaffle closed 4 years ago

ConjoinedWaffle commented 4 years ago

Hi,

First off thank you so much to all who have contributed to this program. I know nothing of the trials and tribulations making it must have caused to the author and those who've worked alongside them. So feel free to dismiss this very minor issue I'm having in the grand scheme of things as I do not wish to appear ungrateful to your efforts.

Before trying to play Rime, I have only tested the program with Ori and the Will of the Wisp, and it works pretty much flawlessly barring a few occassions where the game goes haywire because it thinks all the buttons are being pressed at the same time on start-up (rectified by restarting the computer).

The latter is the problem I'm having with Rime. No matter how many times I restart my computer, I have the same issue of all the buttons being pressed at once, as soon as I get to the menu. I've even played Will of the Wisp first to check if the program's working and it is. I've checked the controller's properties, and all the buttons work fine. But still the problem persists when I start-up Rime.

I'm wondering if this is just a Rime-specific problem, and if anyone else has had any problems with it? I don't know if it's a program or a game related issue, but thought I'd ask anyway.

Thanks again for all your work, irrespective of whether or not you have time for a response.

Davidobot commented 4 years ago

Ah, I think this is because of Rime using DirectInput as the primary input source. If you can select which controller the game uses, select the XInput one.

Are you playing on Steam? You might have to use HidGuardian. I'll explain how and why if you do indeed use it on Steam or there is no option to change controllers.

EDIT: Also, forgot to say, dig the username.

ConjoinedWaffle commented 4 years ago

I've got it installed through Xbox Gamepass, so there's not really an overarching program (at least it doesn't feel like it, I'm sure there must be Microsoft meddling in the background).

Sorry for being an ignoranus - I can select a default from the control panel. At the moment I have the Controller (XBOX 360 for Windows) selected as default over the Pro Controller. Should I try setting the Pro as preferred? Is that what you mean? I have the ShowAsXinput ticked in BetterJoyForCemu as well.

The game shows controls for Keyboard, Xbox Controllers, and Gamepads, but doesn't enable you to select one in the menus as far as I can tell. I'm using the pro controller wired through a USB as well if that makes any difference.

Thanks for the name appreciation and for the quick response!

EDIT: I've tried making the Pro Controller default and the same thing is happening. I should add however that it's not completely all the buttons going off at once. I can press the Home button on and off which brings up the Xbox overlay. I also had control of the right joystick weirdly.

Davidobot commented 4 years ago

The XBOX controller should be set as default on Windows, and ShowAsXinput should be ticked too. I meant that the game might override those controller defaults.

Let's try HIDgaurdian. Turn it on in the app.config and let's see if that helps.

ConjoinedWaffle commented 4 years ago

I'm afraid it didn't. Had a couple instances of it not even recognising the controller. Still worked fine with Ori though! I had a quick go with Mutant Year zero as I know that has controller support too. That didn't recognise the controller at all either. This might be an Xbox Beta PC thing maybe? Might just have to use a 360 controller. I don't wish to bother you much more with this, it's not your fault and I'm sure you have more important things to be dealing with right now!

Edit: Controller works on both Ori and Mutant Year zero now. I've switched to Bluetooth connection instead of wired. Mutant Year Zero you have to switch the controller support on for it to work... Rime doesn't seem to have any such menu, which means you're totally reliant on the game recognising a controller is even there. That's the weird norm now: Rime won't recognise I even have a controller connected. That's with HID on and off btw.

I have read some Steam comments about it being a bit picky from a year or two ago. So I've probably just managed to find the one game your programme won't work with :P. I will play on for a bit as I read someone said after the first chapter their controller started working, so we'll see I guess.

Davidobot commented 4 years ago

Peculiar. Maybe it is an Xbox Beta thing.

ShowAsXinput should always be on as it just makes your gamepad show up as an Xbox controller. HidGuardian is a bit picky, but basically what it does is hides the default pro controller (the one that has all buttons randomly pressed) from all programs, so just leaves the Xbox one. I removed it by default because a lot of people were having problems because they didn't clear their affected list, so their controller would stop being seen system-wide.

ConjoinedWaffle commented 4 years ago

Thanks anyway! Thank you again for the programme, I'll try and donate something to you for all your hard work.