emulate fully fonctional mousewheel with keyboard

emulate fully fonctional mousewheel with keyboard

Postby Flyjet » Sun 07 Jul, 2013 9:54 pm

hi,
My trackball doesn't have mousewheel so, i wrote :
Code: Select all
/* the problem is here, I want to emulate wheel click,i belived that's MiddleButton but it's seems not to work*/if pressed(Keyboard.End) then Mouse.MiddleButton = !Mouse.MiddleButton
Mouse.WheelUp = Keyboard.PageUp
Mouse.WheelDown = Keyboard.PageDown
if pressed(Mouse.MiddleButton) then command.Beep(300 Hz , 300 ms)

please help me
thx
Flyjet
 
Posts: 5
Joined: Wed 10 Feb, 2010 7:45 am

Return to Mouse

Who is online

Users browsing this forum: No registered users and 1 guest