cloudstream
cloudstream copied to clipboard
Add remote settings and menu key shortcuts
Describe your suggested feature
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean { when (keyCode) { KeyEvent.KEYCODE_SETTINGS, KeyEvent.KEYCODE_MENU -> {
showAccountSelectLinear()
return true
}
"Added onKeyDown override to intercept KEYCODE_SETTINGS and KEYCODE_MENU. This triggers the showAccountSelectLinear() function to quickly open the account selection interface using the remote control."
Other details
No response
Acknowledgements
- [x] My suggestion is NOT about adding a new provider
- [x] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.