Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem controller in Silent Hill HD #1280

Closed
Zangetsu38 opened this issue Oct 31, 2015 · 25 comments
Closed

Problem controller in Silent Hill HD #1280

Zangetsu38 opened this issue Oct 31, 2015 · 25 comments

Comments

@Zangetsu38
Copy link
Contributor

Whether, with Xinput plugin or with the Windows keyboard, control direction (directional button and joystick) really respond very poorly.

With Xinput it will have almost, but the keyboard is a disaster, I have to press at least 10 times the key to make it work.

@tambry
Copy link
Contributor

tambry commented Oct 31, 2015

@Zangetsu38 How fast (fps) does the game run?

@vlj
Copy link
Contributor

vlj commented Oct 31, 2015

With llvm and all debug features disabled, I get up to 40 fps in game.
Unfortunatly with llvm the game frequently hangs so it's hard to know if it could be faster if llvm has enough time to warm up.

Unfortunatly the game textures are glitched.

@Zangetsu38
Copy link
Contributor Author

Nothing to do with the fps, the menu is at 60 and that's that.
It's so much a problem of management of management games, it not always respond, but only the direction.
Test yourself to see it even :)
This may be a stupid problem, easy to solve ^^.

@vlj
Copy link
Contributor

vlj commented Nov 1, 2015

Btw what should I do to get unbanned from emunews ? It looks like I inadvertantly triggered the spam protection.

@tambry
Copy link
Contributor

tambry commented Nov 1, 2015

@vlj Easiest way would be to simply message me or darkf on IRC to unban you. I have lifted your ban.

@Zangetsu38
Copy link
Contributor Author

The game is currently running at 60 fps or 40 depending on the location, but there is always this problem of control with joystick and directional cross.
The games use this function for the joystick, are one such function that would be a problem ?

LDR: ! Imported function 'cellPadInit' in 'sys_io' module (0x39d184)
LDR: ! Imported function 'cellPadSetPortSetting' in 'sys_io' module (0x39d1a4)
LDR: ! Imported function 'cellPadGetData' in 'sys_io' module (0x39d1c4)
LDR: ! Imported function 'cellPadGetInfo2' in 'sys_io' module (0x39d1e4)
LDR: ! Imported function 'cellPadSetActDirect' in 'sys_io' module (0x39d204)

Jetpack Joyride has a similar problem except that it is all boutton of the controller that bug.

LDR: ! Imported function 'cellPadInit' in 'sys_io' module (0x4a3a74)
LDR: ! Imported function 'cellPadEnd' in 'sys_io' module (0x4a3a94)
LDR: ! Imported function 'cellPadSetPortSetting' in 'sys_io' module (0x4a3ab4)
LDR: ! Imported function 'cellPadGetData' in 'sys_io' module (0x4a3ad4)
LDR: ! Imported function 'cellPadGetInfo2' in 'sys_io' module (0x4a3af4)

I is not currently seen other games with this problem.
In Silent Hill HD, it is interesting that when you press a button (above the keyboard, a the controller that makes him less) the games react as if we had just made a quick tap and the game therefore makes no consider the pressure maintained on the move.

@MrSapps
Copy link

MrSapps commented Nov 12, 2015

Assuming all games use the same input API maybe someone would be kind enough to write a test app that displays the buttons when pressed for future testing :)

@Zangetsu38
Copy link
Contributor Author

@paulsapps yes

@tambry
Copy link
Contributor

tambry commented Nov 12, 2015

@paulsapps I'm quite sure there quite a few of such test apps included with the SDK.

@MrSapps
Copy link

MrSapps commented Nov 13, 2015

@tambry but that can't be distributed with the emulator for testing?

@tambry
Copy link
Contributor

tambry commented Nov 13, 2015

@paulsapps I'm pretty sure, that if we distributed those, we could get sued or have our project taken down. I'd rather stay on the safe side.

@Zangetsu38
Copy link
Contributor Author

@tambry I just realize a strange fact, the controller works perfectly in the inventory here:
capture d ecran 2015-11-14 04 31 32

By cons, on the title screen, games, and the options, it is a disaster.
So the question is why there is a problem everywhere, except in the inventory menu, I do not understand.

@Zangetsu38
Copy link
Contributor Author

After tests with the controller, I saw that for example the Start button makes only quick press, so it makes break, ingame, pause, etc.

While the keyboard that does not do it.
So I think the plugin Xinput and Keyboard, one every 2 a problem, but it is different.
But in both cases, the bottom button when postures, like one just a quick tap.
But I really do not see where it can come in the Plugin.
@tambry Who is who handles input?

@tambry
Copy link
Contributor

tambry commented Nov 19, 2015

@Zangetsu38 I'm really sorry, but I can't understand what you are explaining or trying to say.

@Zangetsu38
Copy link
Contributor Author

@tambry Yet, I have explained very well.

@tambry
Copy link
Contributor

tambry commented Nov 19, 2015

@Zangetsu38 Well, you haven't, since it's mostly gibberish. It's very broken English. I don't get the meaning of what you wrote. Could you try writing it in another way, so maybe it would be understandable?

@Zangetsu38
Copy link
Contributor Author

@tambry Hmm, I do what I can, it is Google that translates.
In general I can see if it means anything, but for me it is understandable though.
@vlj could explain better than me.

@dbz400
Copy link
Contributor

dbz400 commented Jun 12, 2016

I just retested and it looks fine .I will close it for now and can reopen if we see this again in future.

@dbz400 dbz400 closed this as completed Jun 12, 2016
@AniLeo AniLeo reopened this Feb 9, 2017
@ghost
Copy link

ghost commented Mar 26, 2017

I just got done testing this game and I can confirm this issue is still present. For some reason the game acts like whatever input is being given is only being done for a split of a second. If you continue to waggle the left analog stick over and over you kind of can get your character to walk around easier. I'm guessing this happens because every time position of the analog stick changes, it acts like it's giving a new input for the game to register. This pretty much happens regardless of the input you use, but I found that MMJoyStick is the most manageable for now.

@isshininu
Copy link
Contributor

Today's evdev PR didn't change anything, mybe because it was Linux-related.

@jjsat
Copy link
Contributor

jjsat commented Sep 7, 2017

Alien Breed Impact Demo (NPUB30141) has the same issue with the controller: the character only makes a single step if holding a key down on the keyboard / holding the analog stick in one direction with xinput. Difference to SH is that it doesn't change the controller setting from the default value so PR #3291 does not make a difference. See below.

@Megamouse
Copy link
Contributor

similar issue with Minecraft [NPUB31419]

@jjsat
Copy link
Contributor

jjsat commented Sep 24, 2017

Actually the problem in Alien Breed Impact might be the same after all. The emulator does not set the capability bit for the sensor mode in the xinput driver. The game only enables sensor mode if this bit is set in the first call to cellPadGetInfo2(). Then the situation is the same as in SH.

@isshininu
Copy link
Contributor

#3291 was merged, this should be no more an issue.

@AniLeo AniLeo closed this as completed Sep 28, 2017
@Megamouse
Copy link
Contributor

minecraft works now too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants