setRumble should be double

This commit is contained in:
Lior Halphon 2020-04-29 16:05:31 +03:00
parent 5a14eb93c6
commit 151d58eb60
2 changed files with 3 additions and 3 deletions

View File

@ -22,5 +22,5 @@ typedef enum {
- (uint32_t *)currentBuffer;
- (uint32_t *)previousBuffer;
- (void)screenSizeChanged;
- (void)setRumble: (bool)on;
- (void)setRumble: (double)amp;
@end

View File

@ -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