[Input] Fixed GamePadState.SetAxis() implementation
authorthefiddler <stapostol@gmail.com>
Mon, 30 Dec 2013 12:39:43 +0000 (13:39 +0100)
committerthefiddler <stapostol@gmail.com>
Mon, 30 Dec 2013 12:39:43 +0000 (13:39 +0100)
commite997ddf9c636bb773b84d5146dab03330105a6c8
tree2a2a8f2df2c0ee02d15c5bef3d4e069636669909
parentf7fbf38c43ee0543172f59391403e6ed79533196
[Input] Fixed GamePadState.SetAxis() implementation

GamePadState.SetAxis() receives a GamePadAxes enumeration, which is a
bitmask of the axes we wish to set. SetAxis now correctly decodes the
bitmask to apply the values we are interested in.
Source/OpenTK/Input/GamePadState.cs