![]() |
HP Prime touch button - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: HP Prime touch button (/thread-252599.html) |
HP Prime touch button - SanS - 10-10-2013 I'm trying to learn some programming concepts for the HP Prime and I wonder how you can create touch buttons within a program to perform a specific action. Re: HP Prime touch button - Han - 10-10-2013 The command you're looking for is called MOUSE
Re: HP Prime touch button - SanS - 10-10-2013 Thank you Han, but how to use this command? I don't see in the user guide enough information about this topic.
Re: HP Prime touch button - Han - 10-10-2013 Quote: Page 549-553 gives you a list of other I/O commands including mouse. Syntax: MOUSE[(index)]
Returns two lists describing the current location of each For touch/taps, the second of the two lists is empty. For pinch-like motions, both lists are non-empty (each list corresponding to a touchpoint on the screen). Try the following program snippet:
EXPORT EGMOUSE()
Press [On] to abort; otherwise touch/drag the screen.
|