-
-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
enhancementNew features, or improvements to existing features.New features, or improvements to existing features.
Description
What is the problem or limitation you are having?
Currently there is no way to intercept events from hardware buttons in the device itself or peripherals (e.g. bluetooth headset).
Describe the solution you'd like
Implementing an override of dispatchKeyEvent in the MainActivity class to call a Python handler through userCode() if it exists.
Describe alternatives you've considered
I looked into ways to point to a custom MainActivity or set key handlers at runtime, but neither option seems to exist.
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew features, or improvements to existing features.New features, or improvements to existing features.