Allow for pushing two C Buttons at once when using an analog stick
This value specifies how far an analog stick has to be pressed to count as a C Button press when C Buttons are mapped to an analog stick. The old value did not allow for pressing two c buttons at once, because diagonals did not meet the value. This value specifies that an analog stick must be pressed halfway to count as a C Button press, which allows you to push two C Buttons at once.
This commit is contained in:
parent
a15c1d9005
commit
a1788fa779
|
@ -56,7 +56,7 @@ HRESULT WriteAdaptoidPak( LPDIRECTINPUTDEVICE8 lpDirectInputDevice, DWORD addr,
|
|||
#define MINAXISVALUE -32767
|
||||
#define MAXAXISVALUE 32767
|
||||
#define ZEROVALUE 0
|
||||
#define THRESHOLD 90
|
||||
#define THRESHOLD 50
|
||||
#define RANGERELATIVE (MAXAXISVALUE - ZEROVALUE + 1)
|
||||
#define ABSTHRESHOLD (RANGERELATIVE * THRESHOLD / 100)
|
||||
// plus or minus this many 1/100 degrees counts as GetJoyPadPOV being pressed
|
||||
|
|
Loading…
Reference in New Issue