Add Siri remote button mappings in KeyEvent.uikit.kt#2717
Merged
ASalavei merged 3 commits intoJetBrains:jb-mainfrom Feb 2, 2026
Merged
Add Siri remote button mappings in KeyEvent.uikit.kt#2717ASalavei merged 3 commits intoJetBrains:jb-mainfrom
ASalavei merged 3 commits intoJetBrains:jb-mainfrom
Conversation
- UIPressTypeSelect → Key.DirectionCenter - UIPressTypeMenu → Key.Back - UIPressTypePlayPause → Key.MediaPlayPause
ASalavei
requested changes
Jan 30, 2026
|
@sajidalidev, thank you for contribution and sorry for the long review. Please fix the issue description according to the template: https://github.com/JetBrains/compose-multiplatform-core/blob/83ce70dcf10ea173f93a23bd96063f35c5d57e83/.github/PULL_REQUEST_TEMPLATE.md#L9-L8 |
…/KeyEvent.ios.kt Co-authored-by: Andrei Salavei <Andrei.Salavei@jetbrains.com>
…/KeyEvent.ios.kt Co-authored-by: Andrei Salavei <Andrei.Salavei@jetbrains.com>
mazunin-v-jb
approved these changes
Feb 2, 2026
svastven
approved these changes
Feb 2, 2026
ASalavei
approved these changes
Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add key mappings for tvOS Siri Remote buttons in UIPress.toComposeEvent().
This enables Compose applications to receive and handle button presses from the Siri Remote:
Fixes https://youtrack.jetbrains.com/issue/CMP-9712/Support-Siri-remote-controls
Testing
Tested with tvOS Siri Remote. Button presses are correctly converted to Compose key events and can be handled via
Modifier.onKeyEvent().Release Notes
Features - iOS
Google CLA
Already signed.