I want to use Gyro as a camera in FPS games and I feel like it’d be really awesome if I could tilt the Deck for “constant movement” towards the direction until Deck is brought back to the original position.
I want to use Gyro as a camera in FPS games and I feel like it’d be really awesome if I could tilt the Deck for “constant movement” towards the direction until Deck is brought back to the original position.
Yes, you can set it to directional pad mode. Which triggers different commands based on tilt direction. You could leave everything except tilt forward empty and then trigger forward on “w”.
Alternatively, in joystick mode you can set it to output left joystick, and then set the minimum output value for the x axis to 1. This would essentially make it so you can move forward and backward by tilting the device.
Sorry, I meant camera movement. Like if I tilt the gyro the camera would not stop rotating until I stop tilting.
Continuous aiming is going to be a bit difficult to implement with Gyro. The “Joystick” option is the one you’ll need, though.
“As Joystick” is the smart one that outputs as joystick values, but stops when you hold it still.
“Joystick” literally just straight up sends the jaw/pitch data to a virtual joystick. Which means that leaning it forward will keep the “joystick” in that position until you move it back. I just tried it in Tomb Raider, and it seems to work, but it you’ll need to do some tweaking with the settings to get it right. Works fine vertically, but I have issues getting good output using horizontal movements.