Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
viewer-centered perspective and hand-tracked steering
05-18-2011, 10:31 AM,
#7
 
I haven't really looked into the input code yet. But yeah, the control setup code could use some refactoring being scattered over multiple files.

Code:
eventsystem.GetJoyAxis(j, i) - controlgrab_joystick_state[j].GetAxis(i) > 0.4
It looks like the setup only accepts an input axis if the input delta is greater then 0.4. Maybe to deal with non centered axes? It would make sense for a mouse. Just guessing here, don't have a joystick to check.
Reply


Messages In This Thread
[No subject] - by NaN - 04-30-2011, 11:29 AM
[No subject] - by mUogoro - 05-17-2011, 06:25 PM
[No subject] - by NaN - 05-17-2011, 07:05 PM
[No subject] - by NaN - 05-17-2011, 07:17 PM
[No subject] - by mUogoro - 05-18-2011, 06:37 AM
[No subject] - by NaN - 05-18-2011, 10:31 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-19-2011, 10:42 AM
[No subject] - by fabske - 06-20-2011, 12:49 PM
[No subject] - by antoniovazquez - 06-21-2011, 08:57 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)