setRumble should be double
This commit is contained in:
parent
5a14eb93c6
commit
151d58eb60
@ -22,5 +22,5 @@ typedef enum {
|
|||||||
- (uint32_t *)currentBuffer;
|
- (uint32_t *)currentBuffer;
|
||||||
- (uint32_t *)previousBuffer;
|
- (uint32_t *)previousBuffer;
|
||||||
- (void)screenSizeChanged;
|
- (void)screenSizeChanged;
|
||||||
- (void)setRumble: (bool)on;
|
- (void)setRumble: (double)amp;
|
||||||
@end
|
@end
|
||||||
|
@ -270,9 +270,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setRumble:(bool)on
|
- (void)setRumble:(double)amp
|
||||||
{
|
{
|
||||||
[lastController setRumbleAmplitude:(double)on];
|
[lastController setRumbleAmplitude:amp];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)controller:(JOYController *)controller movedAxis:(JOYAxis *)axis
|
- (void)controller:(JOYController *)controller movedAxis:(JOYAxis *)axis
|
||||||
|
Loading…
Reference in New Issue
Block a user