Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control Mapping
04-27-2015, 09:32 PM (This post was last modified: 04-27-2015 09:52 PM by Bigpet.)
Post: #7
RE: Control Mapping
(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/...#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/...er.mm#L569 and https://github.com/hrydgard/ppsspp/blob/...er.mm#L573 to "> 0.5", because the documentation says that the value range is 0.0-1.0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Control Mapping - Wikilix - 03-19-2015, 09:19 PM
RE: Control Mapping - MNGreat - 03-26-2015, 01:20 AM
RE: Control Mapping - ZeroX4 - 03-26-2015, 07:28 PM
RE: Control Mapping - Bigpet - 03-26-2015, 09:42 PM
RE: Control Mapping - ZeroX4 - 03-27-2015, 06:14 AM
RE: Control Mapping - Wikilix - 04-27-2015, 09:16 PM
RE: Control Mapping - Bigpet - 04-27-2015 09:32 PM
RE: Control Mapping - Wikilix - 04-27-2015, 10:53 PM
RE: Control Mapping - MNGreat - 04-28-2015, 10:32 AM
RE: Control Mapping - MNGreat - 06-09-2015, 10:55 AM
RE: Control Mapping - pralima87 - 06-09-2015, 12:58 PM
RE: Control Mapping - Zaknafein777 - 06-27-2015, 01:39 PM
RE: Control Mapping - MNGreat - 07-23-2015, 06:46 AM

Forum Jump: