|
If you are looking for the SLJoy interface, click SLJoy in the main menu. This article (which predates SLJoy by many months) is about using software to map joystick inputs to button presses.
Unfortunately, the current Second Life implementation does not allow us to read direct analog information from a joystick, so we are not able to write aircraft control scripts that are as sensitive to joystick input as what you'd find in a commercial simulator. (The closest thing is mouselook steering.) However, it is possible to map joystick input to keyhits with certain joysticks, such as the Logitech Dual Action. Other joystick manufacturers may supply programs that do this with their hardware, and there are supposedly some programs out there that map joystick buttons to keyhits regardless of who made the joystick. This profile works with any vehicle that uses flight simulator-style keyboard mappings - that is, arrow keys control pitch/roll and Page Up/Down control throttle. Open it in Logitech Gaming Software (LGS) to figure out what all the keys are. The left analog stick controls pitch/roll. I tried to map the D-pad to do panning, but LGS has a problem with mapping shift+arrowkey AND alt+arrowkey in the same profile, so I couldn't. I have the four buttons on the right of the pad mapped to gestures F5 through F8 in order to control some flight operations: Button 1 -> F5 -> /start Button 2 -> F6 -> /stop Button 4 -> F7 -> /jump (for G-1 Cygnus autogyro) Button 3 -> F8 -> /ab (afterburner) (You will have to create the gestures (such as F5 -> /start) yourself in Second Life.) Buttons 5-8, which are on the front side of the controller: Top row - Slow turn left/right Bottom row - Throttle I have tested this profile with the G-1 Cygnus autogyro, and I think it's a lot of fun to fly this way, rather than using the keyboard.
|