Short/long button press?

403 views
Skip to first unread message

PaulG

unread,
Feb 8, 2009, 12:04:19 PM2/8/09
to CommandFusion
I've just raised a potential feature request with Jarrod but wondered
if anyone else here thought this would be a good idea?...

Is it possible to add some kind of short/long button press
functionality?

i.e. if I short press a button, it could turn a light on/off in the
usual way. If I hold the same button for a little longer, it would
send a different join number which, for example, could then open a sub
page with a level slider on it. Lots of other potential scenarios
too :)

Would be a very neat way of using a single button for multiple uses
(as we have such limited screen real estate on the iPhone).

Thanks.

Paul.

xAPPO

unread,
Feb 8, 2009, 1:41:29 PM2/8/09
to CommandFusion

Ahh yes.. short/long press is a very powerful feature - and used
extensively in C-Bus lighting which I know you have. I guess you're
trying to replicate some of that functionality ? Typically it allows
a lamp to be toggled on/off or held down to dim/brighten the lamp - as
most standard press dimmers implement.

I looked at implementing this within the xAP gateway for iViewer but
decided that really isn't the appropriate place for it because any
linked controller (Crestron/AMX or xAP) that is relying on timing
packet arrivals could not work dependably over a remote (3G/Edge)
connection. Local LAN might be workable, but not remote.

I agree having a 'long press' extra digital join on a button would
open many new possibilities, just for completeness there is also a
'double press' implementation too on a lot of button interfaces. IIRC
long press normally kicks in after about half a sec.

If it was a feature that was interesting I think it would have to be
implemented as a second separate digital join as the digital joins are
by definition binary rather than tristate or more...

K

petehinch

unread,
Feb 11, 2009, 10:02:41 AM2/11/09
to CommandFusion
Paul,

If using Crestron could you not just use the press and hold symbol.
AMX you can use the Hold.
I therefore don't see the reason for your feature request.

Pete

Dean Detton

unread,
Feb 11, 2009, 10:07:29 AM2/11/09
to comman...@googlegroups.com
I think that the problem with using the Press and Hold symbol on the
server side is network latency. You would probably get a lot of false
positives.

--
__________________________
Dean Detton
Prestige Automation, Inc.
http://www.prestigeautomation.com

xAPPO

unread,
Feb 11, 2009, 10:11:17 AM2/11/09
to CommandFusion
He's using xAP rather than Crestron/AMX... So there is no 'press
and hold' symbol.

It could be done - in much the same way as I assume Crestron or AMX
implement it by timing packet arrivals between press and release but
as you move to an iViewer client that is connected via a phone data
link eg 3G or Edge this is not dependable... not even with
Crestron.... If the button' release' signal is at all delayed, as
it can easily be, you get a false press hold join raised...

K
Reply all
Reply to author
Forward
0 new messages