]> git.mxchange.org Git - flightgear.git/commit
- added FGBinding::fire(double) - added support for "mod-up" property
authorcurt <curt>
Mon, 4 Jun 2001 21:06:48 +0000 (21:06 +0000)
committercurt <curt>
Mon, 4 Jun 2001 21:06:48 +0000 (21:06 +0000)
commit112a531f4259c50ed4774d6e47855fca0d8b0ad4
treed7eb35919edc367de169c476e2c1e45d192b656b
parent864e8621503e39e790b8f41253cdd150cfb11dc9
- added FGBinding::fire(double) - added support for "mod-up" property
- go back to using index as key code (otherwise, we'll get nasty
  surprises when users try to override bindings)
- XML config file now nests bindings inside modifiers
- allow user to specify whether key is repeatable
- removed hard-coded bindings for 'b', ',', and '.'
- added code from joystick.cxx, with the following major changes:
  - changed from js0, axis0, button0 to js[0], axis[0], button[0], etc.
  - removed factor, offset, etc. since they will be args to command in
    binding
  - allow multiple bindings, as with key mappings
  - allow access to keyboard modifier keys for bindings
  - include infrastructure for modifiers (only FG_MOD_UP is used so far)
  - removed unused 'saturation' property
  - temporarily removed capture property and trim code; it will have to
    be rewritten to be more generic
  - allow modifiers for joystick buttons
src/Input/input.cxx