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

Modifying controller config #260

Open
CaiMiao opened this issue Jun 15, 2016 · 10 comments
Open

Modifying controller config #260

CaiMiao opened this issue Jun 15, 2016 · 10 comments

Comments

@CaiMiao
Copy link

CaiMiao commented Jun 15, 2016

Hi devs,
I'm playing Zelda Wind Waker and I found CStick Y-axis on my PS2 Controller is inverted,
but I can't just figure it cuz there's no document for creating/modifying controller configs.

CStickX=2,1A,100
CStickY=1,1A,100

What should I do then?

edit: I'm X inverted. Sorry :)

@carnage702
Copy link
Collaborator

well i never modified a controller ini but did you try csticky 1a,1,100?

@DankRank
Copy link
Contributor

@carnage702
That wouldn't work. The format for the sticks is Offset,DeadZone,Radius.

  • Offset is byte offset in the HID packet. This tells nintendont where to look for the axis data.
  • DeadZone is size of the area in the center of the stick which is considered to be... the center of the stick. In other words: it's the space in which the stick rests when you release it.
  • Radius - I think this is "scale" of the value in percents. I'm not sure tho. The value is decimal (unlike the other two), and default is 80.

@CaiMiao
Try doing CStickY=1,1A,-100

@CaiMiao
Copy link
Author

CaiMiao commented Jul 15, 2016

@DankRank , thank you! I will try it out later.

@DankRank
Copy link
Contributor

DankRank commented Jul 16, 2016

@CaiMiao
I tried it myself today, and it doesn't seem to work. I'll try to figure out a solution, but for now, here's a patched version which inverts CStickY: loader.dol

@CaiMiao
Copy link
Author

CaiMiao commented Jul 20, 2016

@DankRank Maybe you can make a defination on controller config ini? Just like

CStickXInverted=false

; By default.

@DankRank
Copy link
Contributor

@CaiMiao That's a good idea, I'll work on it tommorow.

Here's a version with CStickX inverted, as you requested: loader.dol

@CaiMiao
Copy link
Author

CaiMiao commented Sep 12, 2017

@MetalMario ~~~IIRC use corresponding special build @DankRank made should work.~~~
Sorry his build is likely for PS2 controller exclusively

@CaiMiao
Copy link
Author

CaiMiao commented Sep 13, 2017

@MetalMario just ask someone elsr for help, as I don't have building env.

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

4 participants
@DankRank @CaiMiao @carnage702 and others