-
Notifications
You must be signed in to change notification settings - Fork 521
Description
hello! I just started development with Love2D and got to a issue using my old 8bitdo Zero bluetooth gamepad in macOSX.
In Love2D 11.5, this is the data I get:
name 8Bitdo Zero GamePad
GUID 05006f42ac050000020000004f066d02
Mapping: 05006f42ac050000020000004f066d02,*,a:b0,b:b1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b6,leftshoulder:b4,rightshoulder:b5,
x:b2,y:b3,platform:Mac OS X,
-- Not only the GUID is different from what seems to be the actual GUID provided https://github.com/mdqinc/SDL_GameControllerDB , but also the mapping is wrong.
but not only that -- the map is unfixable because a single button is lighting up multiple inputs. For example, pressing A in the controller lights up b0, b1, b2 and b3
in 11.4, this is what I get:
name 8Bitdo Zero GamePad
GUID 03000000a00500003232000009010000
Mapping: 03000000a00500003232000009010000,8BitDo Zero Gamepad,a:b0,b:b1,back:b10,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b6,rightshoulder:b7,start:b11,x:b3,y:b4,hint:SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,platform:Mac OS X,platform:Mac OS X
the GUID seems to be the correct one and the mapping works perfectly.
so I'm guessing there is a bug in 11.5, or maybe my 8bitdo zero is no longer supported (its an old controlelr, from like 2017 I think)
I tried copying the mapping from 11.4 to 11.5 but no dice.
Thank you!!