Unrecognized crank clockwise/counterclockwise button actions in simulator

I'm on macOS 13.1.

Using a Nintendo Pro Controller connected via bluetooth I set L1 and R1 respectively to Crank Counterclockwise and Crank Clockwise (not 100% clear how they should work), like this:


With this setup, when I press L1 or R1 (L or R on the Pro Controller) the simulator throws an exception:

2023-01-22 16:39:00.277713+0100 Playdate Simulator[51493:10890382] +[PDGamePadCrankClockwiseButtonAction input]: unrecognized selector sent to class 0x1002ad678
2023-01-22 16:39:00.278191+0100 Playdate Simulator[51493:10890382] [General] +[PDGamePadCrankClockwiseButtonAction input]: unrecognized selector sent to class 0x1002ad678
2023-01-22 16:39:00.280599+0100 Playdate Simulator[51493:10890382] [General] (
        0   CoreFoundation                      0x000000018e1473f8 __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x000000018dc92ea8 objc_exception_throw + 60
        2   CoreFoundation                      0x000000018e1e9b54 __CFExceptionProem + 0
        3   CoreFoundation                      0x000000018e0ad670 ___forwarding___ + 1600
        4   CoreFoundation                      0x000000018e0acf70 _CF_forwarding_prep_0 + 96
        5   Playdate Simulator                  0x00000001000e1c2c -[PDGamePadControlManager isConfigurationAction:] + 28
        6   Playdate Simulator                  0x00000001000e1afc -[PDGamePadControlManager buttonActionDown:buttonType:] + 212
        7   Playdate Simulator                  0x00000001000e21f8 -[PDGamePadControlManager timerMethod:] + 376
        8   CoreFoundation                      0x000000018e0aedc4 __invoking___ + 148
        9   CoreFoundation                      0x000000018e0aec3c -[NSInvocation invoke] + 428
        10  PanicCore                           0x00000001007175e0 -[PCTimer fire] + 72
        11  PanicCore                           0x0000000100717310 PCTimerCallout + 40
        12  CoreFoundation                      0x000000018e0e655c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
        13  CoreFoundation                      0x000000018e0e6204 __CFRunLoopDoTimer + 940
        14  CoreFoundation                      0x000000018e0e5d5c __CFRunLoopDoTimers + 356
        15  CoreFoundation                      0x000000018e0cb744 __CFRunLoopRun + 1896
        16  CoreFoundation                      0x000000018e0ca888 CFRunLoopRunSpecific + 612
        17  HIToolbox                           0x000000019779ffa0 RunCurrentEventLoopInMode + 292
        18  HIToolbox                           0x000000019779fde4 ReceiveNextEventCommon + 672
        19  HIToolbox                           0x000000019779fb2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
        20  AppKit                              0x000000019134c424 _DPSNextEvent + 632
        21  AppKit                              0x000000019134b5b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
        22  AppKit                              0x000000019133f9e4 -[NSApplication run] + 464
        23  AppKit                              0x0000000191316e28 NSApplicationMain + 880
        24  dyld                                0x000000018dcc3e50 start + 2544
)

Any controller input stops working afterwards until simulator restart.

Looks like this is already fixed for 1.13. Not too much longer now! :crossed_fingers:

1 Like