Overview
Comment: | Fix missing import and fix typo |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
112d9a496fc3d01f2f3788d9586b6d00 |
User & Date: | js on 2024-06-02 22:17:11 |
Other Links: | manifest | tags |
Context
2024-06-02
| ||
23:51 | Add HIDGameControllerMapping check-in: 16aab59c3c user: js tags: trunk | |
22:17 | Fix missing import and fix typo check-in: 112d9a496f user: js tags: trunk | |
21:24 | Completely redesign and rewrite ObjFWHID check-in: 39639cd987 user: js tags: trunk | |
Changes
Modified src/hid/HIDGameControllerEmulatedButton.m from [fb0b1a22a4] to [921a669bf3].
︙ | ︙ | |||
19 20 21 22 23 24 25 | #include "config.h" #import "HIDGameControllerEmulatedButton.h" #import "HIDGameControllerAxis.h" @implementation HIDGameControllerEmulatedButton: HIDGameControllerButton | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #include "config.h" #import "HIDGameControllerEmulatedButton.h" #import "HIDGameControllerAxis.h" @implementation HIDGameControllerEmulatedButton: HIDGameControllerButton - (instancetype)initWithName: (OFString *)name { OF_INVALID_INIT_METHOD } - (instancetype)initWithAxis: (HIDGameControllerAxis *)axis positive: (bool)positive { |
︙ | ︙ |
Modified src/test/OTAppDelegate.m from [6e4666d486] to [1cc4b85cfa].
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #import "OFStdIOStream.h" #import "OFThread.h" #import "OFValue.h" #import "OTTestCase.h" #import "HIDGameController.h" #import "OTAssertionFailedException.h" #import "OTTestSkippedException.h" #ifdef OF_IOS # include <CoreFoundation/CoreFoundation.h> #endif | > | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #import "OFStdIOStream.h" #import "OFThread.h" #import "OFValue.h" #import "OTTestCase.h" #import "HIDGameController.h" #import "HIDGameControllerButton.h" #import "OTAssertionFailedException.h" #import "OTTestSkippedException.h" #ifdef OF_IOS # include <CoreFoundation/CoreFoundation.h> #endif |
︙ | ︙ | |||
544 545 546 547 548 549 550 | [OFStdOut writeLine: @"Press Start button to exit"]; # endif for (;;) { void *pool = objc_autoreleasePoolPush(); HIDGameController *controller = [[HIDGameController controllers] objectAtIndex: 0]; | | | 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 | [OFStdOut writeLine: @"Press Start button to exit"]; # endif for (;;) { void *pool = objc_autoreleasePoolPush(); HIDGameController *controller = [[HIDGameController controllers] objectAtIndex: 0]; HIDGameControllerButton *button = # ifdef OF_WII [controller.buttons objectForKey: @"Home"]; # else [controller.buttons objectForKey: @"Start"]; # endif [controller retrieveState]; |
︙ | ︙ |