scotthmccoy / iMpulse

App for setting up and testing an iMpulse game controller
1 stars 0 forks source link

ANNOUNCE AS MEDIA APP #3

Closed iMpulseController closed 11 years ago

iMpulseController commented 11 years ago

For the app to intercept the media keys instead of passing them on to the last running media app, our app must announce itself AS a media app. Elsewise, when the controller is set to media mode, the keypresses will not appear onscreen as the app wouldn't see the events.

scotthmccoy commented 11 years ago

Added: [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; Need to test whether this will work with external keyboards.

scotthmccoy commented 11 years ago

Completed in 0b57e5a8fb25a73aeacea38c4b26ed8455c2efb9. May not be possible or even necessary to intercept the volume keys.