-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Android record keycode mapping, and send the key event to Kabuki #491
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to also update the Cobalt DOM keycoces. Those mirror SbKey.
https://github.com/youtube/cobalt/blob/main/cobalt/dom/keycode.h.
Also let's map to "MediaRecord"
https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values#multimedia_keys
https://github.com/youtube/cobalt/blob/main/cobalt/dom/keyboard_event.cc#L338
eb9e1ae
to
bc078ea
Compare
Added the mapping for DOM keycode. |
bc078ea
to
f1bd054
Compare
f1bd054
to
6b59137
Compare
…491) Co-authored-by: Colin Liang <[email protected]> (cherry picked from commit f2f67a5)
… key event to Kabuki (#757) Co-authored-by: Colin Liang <[email protected]> Co-authored-by: Colin Liang <[email protected]>
b/272048725
I verified it using adb command to send the keycode.
We need to verify the TV remote record button triggers the keycode AKEYCODE_MEDIA_RECORD(130)