SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Studio (http://forums.sagetv.com/forums/forumdisplay.php?f=34)
-   -   Button listener "pressed" vs "held" (http://forums.sagetv.com/forums/showthread.php?t=63622)

CollegeProject 10-20-2016 10:46 AM

Button listener "pressed" vs "held"
 
Is there anyway to detect if a keyboard button is being held vs just being pressed? Using a listener I tried a count and it just goes up really quick if it's held. Hoping there is someone has figure out a way to tell the difference.

stuckless 10-20-2016 10:57 AM

Quote:

Originally Posted by CollegeProject (Post 594316)
Is there anyway to detect if a keyboard button is being held vs just being pressed? Using a listener I tried a count and it just goes up really quick if it's held. Hoping there is someone has figure out a way to tell the difference.

If you search for "longpress" in the Phoenix STV you'll see how Phoenix did it...

https://raw.githubusercontent.com/st...%20STV.410.xml


All times are GMT -6. The time now is 07:54 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.