Caine
Hardcore Member
QUOTE
I'm not sure about using an analog stick direction as a button press...
I just tried it out on a dualshock clone for my pc. It works surprisingly well.
If there are any glovepie users that want to give it a spin, here is the simple script I used:
var.scale = 50
if joystick.Button1 then // compensate for poorly calibrated joystick
var.originx = joystick.roll
var.originy = joystick.z
endif
mouse.x += (joystick.roll - var.originx) / var.scale
mouse.y += (joystick.z - var.originy) / var.scale
mouse.Button1 = Joystick.x < -0.5
mouse.Button2 = 0.5 < Joystick.x
mouse.Button3 = Joystick.y < -0.5
QUOTE
Scroll on the analog stick might not be bad
Whoops, forgot about the scroll wheel. Hmmm, I suppose Fn+Right joystick would do.
I'm not sure about using an analog stick direction as a button press...
I just tried it out on a dualshock clone for my pc. It works surprisingly well.
If there are any glovepie users that want to give it a spin, here is the simple script I used:
var.scale = 50
if joystick.Button1 then // compensate for poorly calibrated joystick
var.originx = joystick.roll
var.originy = joystick.z
endif
mouse.x += (joystick.roll - var.originx) / var.scale
mouse.y += (joystick.z - var.originy) / var.scale
mouse.Button1 = Joystick.x < -0.5
mouse.Button2 = 0.5 < Joystick.x
mouse.Button3 = Joystick.y < -0.5
QUOTE
Scroll on the analog stick might not be bad
Whoops, forgot about the scroll wheel. Hmmm, I suppose Fn+Right joystick would do.
Last edited by a moderator: