mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 23:36:30 +00:00
Slightly tweak POVhat condition.
This commit is contained in:
parent
cbebb25c17
commit
68d3eccc58
@ -37,8 +37,9 @@ void CInputProviderEvDev::OnEvDevInputEvent(GamePadDeviceId deviceId, int code,
|
||||
else if(type == EV_ABS)
|
||||
{
|
||||
int fixedValue = value;
|
||||
if(code == ABS_HAT0X || code == ABS_HAT0Y)
|
||||
if(abs->flat == 0)
|
||||
{
|
||||
//Assuming this is a POVhat
|
||||
tgt.keyType = BINDINGTARGET::KEYTYPE::POVHAT;
|
||||
switch(value)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user