OSBYTE &78

From BeebWiki
Jump to: navigation, search

OSBYTE &78 (120) - Key Pressed Data

   X=1st key pressed (internal number)
   Y=2nd key pressed (internal number)
   This writes the rollover key numbers, but will not normally cause 
   any keys to be inserted in the buffer as it does not affect the 
   rollover counter
   (Risc OS 1.00)
   X=0 Y=0 locks the rollover mechanism until all keys are released

See Also

Jgharston 21:55, 26 May 2009 (UTC)