forums.PPSSPP.org
Control Mapping - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Builds, releases and ports (/forumdisplay.php?fid=4)
+---- Forum: iOS port (/forumdisplay.php?fid=26)
+---- Thread: Control Mapping (/showthread.php?tid=14901)



Control Mapping - Wikilix - 03-19-2015 09:19 PM

While mapping controls, I am not able to properly map keys to the right analog stick, further investigation has shown that the right analog stick is unavailable all together. This is understandable as the psp system only had one analog stick.
But adding support for the right analog stick would allow me to map the cross, triangle, square and circle to the right analog stick, allowing for better control of first person shooters, such as Star Wars: Battlefront 2. Thanks for the read and I hope this reaches developers.


RE: Control Mapping - MNGreat - 03-26-2015 01:20 AM

This has been an issue with ios 8. If youve been checking the top most threads here, its already talked about a lot lol. But we still have no news or updates om this issue. Probably the github issue post needs more bumps.


RE: Control Mapping - ZeroX4 - 03-26-2015 07:28 PM

(03-19-2015 09:19 PM)Wikilix Wrote:  While mapping controls, I am not able to properly map keys to the right analog stick, further investigation has shown that the right analog stick is unavailable all together. This is understandable as the psp system only had one analog stick.
But adding support for the right analog stick would allow me to map the cross, triangle, square and circle to the right analog stick, allowing for better control of first person shooters, such as Star Wars: Battlefront 2. Thanks for the read and I hope this reaches developers.

if you care for workaround which not only will help but also EXTEND functionality of ur gamepad
http://forums.ppsspp.org/showthread.php?tid=12513


RE: Control Mapping - Bigpet - 03-26-2015 09:42 PM

(03-26-2015 07:28 PM)ZeroX4 Wrote:  if you care for workaround which not only will help but also EXTEND functionality of ur gamepad
http://forums.ppsspp.org/showthread.php?tid=12513

Come on man, don't just blindly link that thread everytime controls are mentioned. This is the iOS port forum, I don't think that applies here.


RE: Control Mapping - ZeroX4 - 03-27-2015 06:14 AM

(03-26-2015 09:42 PM)Bigpet Wrote:  
(03-26-2015 07:28 PM)ZeroX4 Wrote:  if you care for workaround which not only will help but also EXTEND functionality of ur gamepad
http://forums.ppsspp.org/showthread.php?tid=12513

Come on man, don't just blindly link that thread everytime controls are mentioned. This is the iOS port forum, I don't think that applies here.

muhahhahaha lol i was pretty sure it was off topic section ;P

i never come to other sections than general discussion and off topic

next time i read more careful

hahah now i feel like

[Image: yLG6qV1.gif]


RE: Control Mapping - Wikilix - 04-27-2015 09:16 PM

So, who is the Current developer or developers working on the iOS port? I really would like to see this analog issue resolved! And it doesn't even seem like too much of an effort for any seasoned developer. Please, fix this issue!


RE: Control Mapping - Bigpet - 04-27-2015 09:32 PM

(04-27-2015 09:16 PM)Wikilix Wrote:  So, who is the Current developer or developers working on the iOS port?

The answer is "there is none"

But to humor you, here's the code you probably need to replace with what I wrote : https://github.com/hrydgard/ppsspp/blob/master/ios/ViewController.mm#L563-L578
Code:
extendedProfile.rightThumbstick.xAxis.valueChangedHandler = ^(GCControllerAxisInput *axis, float value) {
        AxisInput axisInput;
        axisInput.deviceId = DEVICE_ID_PAD_0;
        axisInput.flags = 0;
        axisInput.axisId = JOYSTICK_AXIS_Z;
        axisInput.value = value;
        NativeAxis(axisInput);
    };
    
    extendedProfile.rightThumbstick.yAxis.valueChangedHandler = ^(GCControllerAxisInput *axis, float value) {
        AxisInput axisInput;
        axisInput.deviceId = DEVICE_ID_PAD_0;
        axisInput.flags = 0;
        axisInput.axisId = JOYSTICK_AXIS_RZ;
        axisInput.value = -value;
        NativeAxis(axisInput);
    };

I don't have the hardware to even compile or test this, so someone who does can maybe do that and then make a pull-request

Alternatively you can try to change the "< -0.5" https://github.com/hrydgard/ppsspp/blob/master/ios/ViewController.mm#L569 and https://github.com/hrydgard/ppsspp/blob/master/ios/ViewController.mm#L573 to "> 0.5", because the documentation says that the value range is 0.0-1.0


RE: Control Mapping - Wikilix - 04-27-2015 10:53 PM

Then who compiles & releases these iOS builds & updates? Also I wish I was a coder lol, but all of that is 100% foreign to me! Thanks for the speedy reply


RE: Control Mapping - MNGreat - 04-28-2015 10:32 AM

Yeah i wish someone could compile this. The right nub stick being unusable on controllers completely disappointments me.


RE: Control Mapping - MNGreat - 06-09-2015 10:55 AM

Latest update fixed the control nub stick issue! Finally and thank you!

Now my new problem is, mhp3rd's english sub is really messed up lol. Not sure if the update affected anything or what. And so far, the game stops but the audio still plays. Kinda like a crash i guess. Also with manhunt 2. Not sure with other games but i'll check just to make sure.


RE: Control Mapping - pralima87 - 06-09-2015 12:58 PM

(06-09-2015 10:55 AM)MNGreat Wrote:  Latest update fixed the control nub stick issue! Finally and thank you!

Now my new problem is, mhp3rd's english sub is really messed up lol. Not sure if the update affected anything or what. And so far, the game stops but the audio still plays. Kinda like a crash i guess. Also with manhunt 2. Not sure with other games but i'll check just to make sure.

Stop loading it from a Save state and load the game from the ingame load menu.


RE: Control Mapping - Zaknafein777 - 06-27-2015 01:39 PM

Just got 8.3 jailbreak so I could get back to my sweet sweet PPSSPP. MNGreat, Man its awesome that the control issue was fixed!


RE: Control Mapping - MNGreat - 07-23-2015 06:46 AM

I know right? Its a relief. My new issue is my ppsspp icon is gone lol. Updated to the new build and i cant find it. Posted a new thread about it hopefully someone knows what to do.