Re: [ROOT] arrow key and HandleInput

From: Valeriy Onuchin (onuchin@fnal.gov)
Date: Mon Apr 02 2001 - 17:57:50 MEST


  Hi Oliver,
check tetris game in $ROOTSYS/test/.
It has exactly what you want. THT.

Regards.    Valeriy



Olivier Meplan wrote:

>
>
> Hi rooters!
>
> I write a method HandleInput(...) for my class which derived from a
> TCanvas in order to make special action depending on which key of the
> keyboard is pressed. No problem for  most of keys...but I can't succeed
> to know when an arrow key (up, down, left or right) is pressed .
> Is there someone who can help me?
> Thanks
> Olivier



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET