Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: holding down the volume button Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
PhilC
Newbie
Newbie
Avatar

Joined: March 18 2004
Location: United Kingdom
Online Status: Offline
Posts: 39
Posted: October 18 2007 at 02:44 | IP Logged Quote PhilC

Hi,
The other day, I downloaded RemoteControl II for my windows CE device and noticed that when you press and hold down the volume button, it functions like a 'real' remote in that it keeps on pumping the volume up or down. This is something I have always wanted PH to achieve but have only managed a messy work around by recording a 'long' volume press as a seperate button.

Has anyone got a decent solution?

Many thanks
Phil
Back to Top View PhilC's Profile Search for other posts by PhilC
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: October 19 2007 at 15:26 | IP Logged Quote TonyNo

What hardware do you use for controlling things?

I use PalmPads and use the Bright/Dim keys for volume. These repeat and work well.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
PhilC
Newbie
Newbie
Avatar

Joined: March 18 2004
Location: United Kingdom
Online Status: Offline
Posts: 39
Posted: October 19 2007 at 15:36 | IP Logged Quote PhilC

hi Tony,

Using a USB-IRT and a touch screen monitor.

Thanks
Phil
Back to Top View PhilC's Profile Search for other posts by PhilC
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: October 19 2007 at 17:07 | IP Logged Quote TonyNo

Hmm. This does not seem like the best way to use repeating keys for volume. You need pretty fast response time for this.

Maybe code up some small and big change buttons? Say, 1 and 5/10 clicks per press?
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
PhilC
Newbie
Newbie
Avatar

Joined: March 18 2004
Location: United Kingdom
Online Status: Offline
Posts: 39
Posted: October 19 2007 at 19:17 | IP Logged Quote PhilC

well that's how I was doing it originally (big/small change buttons) but having tried this remoteControll II software on my WinCE device I was surprised that it did press and hold actions.
I wonder if in PH there is an event handler that will check if the mouse button is pressed and remains pressed and therefore sends repeat commands??

Having thought about it, if you can achieve that, then you could also do the same for dimming / brightening lights which would be much better than repeating button presses.
Back to Top View PhilC's Profile Search for other posts by PhilC
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: October 22 2007 at 14:28 | IP Logged Quote onhiatus

What are you running on the touch screens? If you are running via an html page (or hta app) you could hook the button up/dn events.

Something like "onmousedown='startVolUpMacro();'" and "onmouseup='stopVolUpMacro();"

If you are using a CC I'm not sure if this is possible. Maybe a feature request? A new button type "repeatingButton" should be easy to implement.
Back to Top View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum