ARMweb button detection

Questions about the BASICtools and MakeItC
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

ARMweb button detection

Post by YahooArchive »

Can, for instance, push, release, and hold be detected of a "simulated" button?

i.e. A undepressed button is shown as default.

The button is "depressed" when touched and BASIC detects edge

When the button is held for say longer than 0.5 sec BASIC detects the hold and
is able to detect that the button is being repeated.

BASIC detects that the key has been released.

Would it work with phone browsers too?

Thanks.



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb button detection

Post by YahooArchive »

This is really a web page issue, which really means its running on the client
not the ARMweb, which would probably best be done with Javascript or something
similar. As its running on the client the BASIC doesn't get involved with
mouse-over or mouse key press until the action occurs, like the button press, or
the repeated key, which could be sent to the BASIC via CGI or a second simple
webpage with some embedded BASIC.

Post Reply