projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0a724
)
[Input] Fixed incorrect variable name
author
thefiddler
<stapostol@gmail.com>
Mon, 30 Dec 2013 12:49:26 +0000
(13:49 +0100)
committer
thefiddler
<stapostol@gmail.com>
Mon, 30 Dec 2013 12:49:26 +0000
(13:49 +0100)
Source/OpenTK/Input/GamePadState.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Input/GamePadState.cs
b/Source/OpenTK/Input/GamePadState.cs
index
76db81a
..
096d3da
100644
(file)
--- a/
Source/OpenTK/Input/GamePadState.cs
+++ b/
Source/OpenTK/Input/GamePadState.cs
@@
-134,13
+134,13
@@
namespace OpenTK.Input
if ((axis & GamePadAxes.LeftTrigger) != 0)
{
// Adjust from [-32768, 32767] to [0, 255]
- left_trigger = (byte)((
ev.V
alue - short.MinValue) >> 8);
+ left_trigger = (byte)((
v
alue - short.MinValue) >> 8);
}
if ((axis & GamePadAxes.RightTrigger) != 0)
{
// Adjust from [-32768, 32767] to [0, 255]
- right_trigger = (byte)((
ev.V
alue - short.MinValue) >> 8);
+ right_trigger = (byte)((
v
alue - short.MinValue) >> 8);
}
}