• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
turn off screen after inactivity
#7
Geoff - I do remember when you requested this. I just discovered a simple way to handle it that didn't involve having to poll. There is a "onUserInteraction" function that gets called whenever the user touches the screen or provides input with a pedal. I can use that to measure the last time there was input, and use that as the basis for determining if no input has been received in an hour.

Mike
Reply


Messages In This Thread
turn off screen after inactivity - by Doesput - 01-04-2019, 06:48 AM
RE: turn off screen after inactivity - by Doesput - 01-04-2019, 07:20 PM
RE: turn off screen after inactivity - by jagny42 - 01-04-2019, 10:30 PM
RE: turn off screen after inactivity - by Zubersoft - 01-05-2019, 01:54 AM



Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.