57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
return [_rawProfile.buttons objectForKey: @"Circle"];
}
- (OHGameControllerButton *)leftShoulderButton
{
return [_rawProfile.buttons objectForKey: @"L1"];
}
- (OHGameControllerButton *)leftTriggerButton
{
return [[[OHGameControllerEmulatedTriggerButton alloc]
initWithName: @"L2"
axis: [_rawProfile.axes objectForKey: @"Z"]] autorelease];
}
- (OHGameControllerButton *)rightTriggerButton
{
return [[[OHGameControllerEmulatedTriggerButton alloc]
initWithName: @"R2"
axis: [_rawProfile.axes objectForKey: @"RZ"]] autorelease];
}
- (OHGameControllerButton *)rightShoulderButton
{
return [_rawProfile.buttons objectForKey: @"R1"];
}
- (OHGameControllerButton *)leftThumbstickButton
{
return [_rawProfile.buttons objectForKey: @"L3"];
}
- (OHGameControllerButton *)rightThumbstickButton
{
|
>
>
>
>
>
<
<
<
<
<
|
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
return [_rawProfile.buttons objectForKey: @"Circle"];
}
- (OHGameControllerButton *)leftShoulderButton
{
return [_rawProfile.buttons objectForKey: @"L1"];
}
- (OHGameControllerButton *)rightShoulderButton
{
return [_rawProfile.buttons objectForKey: @"R1"];
}
- (OHGameControllerButton *)leftTriggerButton
{
return [[[OHGameControllerEmulatedTriggerButton alloc]
initWithName: @"L2"
axis: [_rawProfile.axes objectForKey: @"Z"]] autorelease];
}
- (OHGameControllerButton *)rightTriggerButton
{
return [[[OHGameControllerEmulatedTriggerButton alloc]
initWithName: @"R2"
axis: [_rawProfile.axes objectForKey: @"RZ"]] autorelease];
}
- (OHGameControllerButton *)leftThumbstickButton
{
return [_rawProfile.buttons objectForKey: @"L3"];
}
- (OHGameControllerButton *)rightThumbstickButton
{
|