mouse scrolling wheel

Wouter wouter.abraham at scarlet.be
Mon Jul 24 12:57:47 EDT 2006


On 24 Jul 2006, at 11:18, Viktoras Didziulis wrote:

> Some mouses come with a scrolling wheel. Is there any way to  
> capture the
> rotation of the wheel in Rev ?
>
> All the best!
> Viktoras

on rawkeyDown x
put true into tPass
switch x
case "65308" --scroll down
-- do something
-- put false into tPass -- if no further passing needed
break
case "65309" -- scroll up
-- do something
-- put false into tPass -- if no further passing needed
break
end switch
if tPass then pass rawKeyDown
end rawKeyDown

Greetings,
Wouter



More information about the use-livecode mailing list