[Scilab-users] Recognition of cursor key as input

Samuel Gougeon sgougeon at free.fr
Tue Aug 12 13:38:19 CEST 2014


Le 08/08/2014 20:35, Jens Simon Strom a écrit :
> Is there a way to stop a loop at each cycle and continue it by pressing one
> of the cursor keys (up, down, left or right) so that the script  'knows'
> which key has been pressed? I experimented with the input command with no
> result.
If you succeed in implementing your code with these keys to route and 
process, it might be not really portable.
The following link could be of interest:
http://stackoverflow.com/questions/2876275/what-are-the-ascii-values-of-up-down-left-right

Samuel




More information about the users mailing list