danomatika / ofxPd

(maintained) a Pure Data addon for OpenFrameworks using libpd
Other
202 stars 45 forks source link

Use keyboard input on iOS? #80

Closed batchku closed 4 years ago

batchku commented 4 years ago

I have a bluetooth keyboard paired with an iPhone and i'd like to use its input in Pd. It seems that the first touch on the keyboard kills the app:

2020-05-07 22:42:58.307372-0700 EchoJamKeyMouse[990:157125] [general] Connection to daemon was invalidated
2020-05-07 22:43:10.013282-0700 EchoJamKeyMouse[990:156887] Can't end BackgroundTask: no background task exists with identifier 2 (0x2), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
2020-05-07 22:43:10.028371-0700 EchoJamKeyMouse[990:156887] [ApplicationLifecycle] UIWindows were created prior to initial application activation. This may result in incorrect visual appearance.
2020-05-07 22:43:10.037963-0700 EchoJamKeyMouse[990:157125] -[_UIRemoteKeyboards proxy]_block_invoke Failed to access remote service: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.UIKit.KeyboardManagement.hosted was invalidated from this process.}

Is this

danomatika commented 4 years ago

Without any additional context, I can probably assume it's some issue with OF and not ofxPd.

Please only open issues which are directly related to problems with ofxPd and not general iOS or OF development questions, this is what the OF forums are for. I do not have the bandwidth for anything else.