Differences From Artifact [c9aa070e37]:
- File src/OFGameController.m — part of check-in [336ecd9bdc] at 2024-05-09 19:46:06 on branch gamecontroller — OFGameController: Support for pressure sensitivity (user: js, size: 3164) [annotate] [blame] [check-ins using]
To Artifact [9e4bb86304]:
- File
src/OFGameController.m
— part of check-in
[0f902d87eb]
at
2024-05-09 23:41:48
on branch gamecontroller
— OFGameController: Retrieve state explicitly
This avoids retrieving it multiple times when reading multiple things. (user: js, size: 3191) [annotate] [blame] [check-ins using]
︙ | |||
65 66 67 68 69 70 71 72 73 74 75 76 77 78 | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | + + + + | return [OFArray array]; } - (instancetype)init { OF_INVALID_INIT_METHOD } - (void)retrieveState { } - (float)pressureForButton: (OFGameControllerButton)button { return 0; } @end #endif |