Hi jj0 thanks for the reply.
testjoys.txt gives me this
03000000790000001c18000001010000, Android Gamepad
I removed all lines from gamecontrollerdb.txt except the following (E:\Carousel_Games\Options\Controllers)
# Linux
03000000591c00002400000010010000,Retro Games LTD THEC64 MS Joystick,a:b4,b:b5,back:b6,lefttrigger:b0,leftx:a0,lefty:a1,righttrigger:b1,start:b7,x:b3,y:b2,platform:Linux,
my c64 joystick worked as expected and again the + and - buttons on other joystick acted as fire buttons.
I then changed the line to this
# Linux
03000000591c00002400000010010000,Retro Games LTD THECe64 MS Joystick,leftx:a0,lefty:a1,platform:Linux,
As expected all that worked on the c64 joystick was movement but no buttons, however the + and - buttons on other joystick still showed signs of being fire buttons.
I then booted stock firmware and ran anykey-64 and the joystick shows + and - as joystick fire button 1, the only other button that registers is the home button which shows up as a shift and comma combo (less than).
So I guess something else is going on and it just wont work full stop.
If its any help when plugging the joystick into my pc with the windows gamecontroller test window up it will read is as a pro controller for a second then display Controller (xbox 360 for windows) and the joystick will move the cross hair on the axes.
SDL2 gamepad tool shows the guid as 030000005e0400008e02000000007801 (which is different to what the C64 gave me)
If i press + and - on the joystick for 5 seconds it changes its ID to PS3/PC gamepad and the joystick now move that HAT not the axes
SDL2 gamepad tool shows the guid as 03000000632500007505000000000000
pressing + and - for 5 seconds changes from D_input to X-input (but does not seem to make a difference when pressed when plugged into thec64)
not sure what thec64 reading as either a pro controller or a Controller (xbox 360 for windows) or even a PS3/PC gamepad or something completely different.
looks like I'll have to look for another similar controller that works