Fix video selection bug (#419)

* Fix video selection bug

* Refactor key handling

* comment
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2024-07-04 11:16:09 -04:00
1 parent 896d0b9bf3
commit ebc5d81180
28 files changed
+216 -160

No files matched your search

@@ -0,0 +1,20 @@
' https://developer.roku.com/en-ca/docs/references/scenegraph/component-functions/onkeyevent.md
enum RemoteKeys
Back = "back"
Up = "up"
Down = "down"
Left = "left"
Right = "right"
Ok = "OK"
Replay = "replay"
Play = "play"
PlayOnly = "playonly"
Rewind = "rewind"
FastForward = "fastforward"
Options = "options"
Pause = "pause"
' Long press keys - these are not standard, and used to handle long press events
OkLongPress = "OK_LONG_PRESS"
OptionsLongPress = "OPTIONS_LONG_PRESS"
end enum