Kiosk app screen saver #17568
Unanswered
aguahombre
asked this question in
Q&A
Replies: 1 comment
-
You can subscribe to inputelement's routed events |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Avalonia 10 it was easy to implement a screen saver that turned off the kiosk app display after a period of inactivity and turned the screen back on after any user input (e.g. touch, mouse or keyboard).
I just subscribed to
Avalonia.Input.InputManager.Instance.PreProcess
to monitor input activity.In Avalonia 11, the input manager is now marked internal private API.
Is there an alternative way to do this in Avalonia 11?
If not, can access to the raw input stream be re-added to the API; I'm sure there are other instances where this would be useful.
Beta Was this translation helpful? Give feedback.
All reactions