Merge pull request #866 from Jeremy517/master
Allow for pushing two C Buttons at once when using an analog stick
This commit is contained in:
commit
ba7bf929a2
|
@ -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
|
||||
|
|
|
@ -63,7 +63,7 @@ BOOL IsXInputDevice( const GUID* pGuidProductFromDirectInput );
|
|||
//defines
|
||||
#define N64_ANALOG_MAX 127
|
||||
#define XC_ANALOG_MAX 32767
|
||||
#define BUTTON_ANALOG_VALUE 107
|
||||
#define BUTTON_ANALOG_VALUE 60
|
||||
|
||||
//enums
|
||||
namespace N64_BUTTONS
|
||||
|
|
Loading…
Reference in New Issue