|
Post by monka on Feb 16, 2021 22:12:43 GMT
Unfortunately I have a different (also Polish by chance) 2xDB9 to USB adapter. So that's no help. You could try to run the joystick tool in XWM and see if the different directions register in it. And then (still in XWM) maybe do a dmesg and see what is logged about the joystick/adapter. Ok, I found out that my adapter is made by hexagon.de and here and it was confirmed working here in the forums in this post almost two years ago ( thec64community.online/post/691 ) but it was mentioned that it was 03000000c0160000dc27000001010000 and I was following the instructions and changed mine to 03000000c0160000dc27000000010000. Will try xwm tool as soon as I get some usb hub.
Ok, the joystick still doesnt work in PCU (the fire button does work), I tried to swap directions mapping from dpad to analog. Nothing worked. But the tool in XWM clearly reads both the button and directions.
|
|
|
Post by jj0 on Feb 17, 2021 10:21:19 GMT
Ok, I found out that my adapter is made by hexagon.de and here and it was confirmed working here in the forums in this post almost two years ago ( thec64community.online/post/691 ) but it was mentioned that it was 03000000c0160000dc27000001010000 and I was following the instructions and changed mine to 03000000c0160000dc27000000010000. Will try xwm tool as soon as I get some usb hub.
Ok, the joystick still doesnt work in PCU (the fire button does work), I tried to swap directions mapping from dpad to analog. Nothing worked. But the tool in XWM clearly reads both the button and directions.
Maybe ch1ller can share his gamecontrollerdb entry. But from your XWM results the gamecontrollerdb digits string identifier would need to be the '03000000c0160000dc27000001010000'. It's probably easiest to start with (using PCUAE) a gamecontrollerdb.txt with just one line in it, just the one for 03000000c0160000dc27000001010000. Then you are sure there are no other entries interfering. I've tested the mapping, the official THE64/VIC20 joysticks use: THE64 Joystick | gamecontrollerdb.txt input name | Left Fire | lefttrigger | Right Fire | righttrigger | Left Triangle | x | Right Triangle | y | Menu 1 | a | Menu 2 | b | Menu 3 | back | Menu 4 | start | Left/Right | leftx | Up/Down | lefty |
Not that for Left/Right and Up/Down it uses the left analog stick mapping, but it also works fine using dpdleft/dpright and dpup/dpdown instead. So if your controller only reports dpd<xxx> and not leftx/lefty then you can still use it. So if you use the SDL Gamepadtool to map these for your device you should be able to copy the mapping string, and if you used Windows replace the identifying number string with 03000000c0160000dc27000001010000 and use that in gamecontrollerdb.txt to test.
|
|
|
Post by monka on Feb 17, 2021 22:17:43 GMT
I dont think ch1ller will help, as he wasn't active here for almost two years. The results shows 03000000c0160000dc27000001010000 because I already changed to this string before taking screenshots from XWM. I cleared whole gamecontrollerdb.txt (there was the same string for monster joystick, deleted that before) with only one entry left and still only fire button works. I just don't get it and am about to give up.
PS. Can thec64-default.cjm joysting setting placed in root directory interfere? The path to gamectorlollerdb.tx is USB:\Carousel_Games\Options\Controllers\gamecontrollerdb.txt ?
|
|
|
Post by monka on Feb 17, 2021 22:49:03 GMT
|
|
|
Post by jj0 on Feb 18, 2021 8:50:49 GMT
I dont think ch1ller will help, as he wasn't active here for almost two years. The results shows 03000000c0160000dc27000001010000 because I already changed to this string before taking screenshots from XWM. I cleared whole gamecontrollerdb.txt (there was the same string for monster joystick, deleted that before) with only one entry left and still only fire button works. I just don't get it and am about to give up.
PS. Can thec64-default.cjm joysting setting placed in root directory interfere? The path to gamectorlollerdb.tx is USB:\Carousel_Games\Options\Controllers\gamecontrollerdb.txt ?
Yes, thec64-default.cjm can interfere I think. But taking the info from the thread you found it might be a no go anyway. Are these adapters still for sale? Probably not. They are still being discussed at www.forum64.de/index.php?thread/43055-usb-joystickadapter-neue-firmware-weiterentwicklung/, maybe you can ask about the issues there?
|
|
|
Post by jj0 on Feb 18, 2021 10:13:53 GMT
From that forum, this is the string ch1ller used: 03000000c0160000dc27000001010000,hexagons.de Retro-Joystick,x:b6,y:b7,back:b2,start:b3,b:b4,a:b5,lefttrigger:b0,righttrigger:b1,leftx:a0,lefty:a1,platform:Linux, But I assume yours is similar? Maybe you can also play around with this setting: // the port mapping can be selected by holding the left joystick while plugging-in the adapter: // button1 + left: left joystick will be reported as joystick #1 // button1 + right: right joystick will be reported as joystick #1 // the mapping is stored in the eeprom
|
|
|
Post by jj0 on Feb 25, 2021 21:04:40 GMT
Same with the other joystick........ For the record, having had a PM conversation with sjakie43, the Retronics design adapter works with: 030000001008000001e5000010010000,NEXT SNES Controller,a:b2,b:b1,back:b8,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b4,lefttrigger:b6,start:b9,x:b3,y:b0,platform:Linux, The key to resolving some non-working Carousel user-added games was that some of these didn't have the JF mapped to all available buttons so I reverted to b4 which apparently is usually mapped.
|
|
|
Post by gantor on Mar 1, 2021 11:00:08 GMT
Hello guys, I'm new here. I want to thanks you all for the useful informations posted here. I have recently bought theC64 and I have red your suggestions and tests about compatible joystick. After a fast analysis I opted for a Lioncast Fighting Arcade Joystick that should be fully compatible with the console. I have tried a lot but I can't use it. My PC test it without problem, all is functional but on my C64 won't work. I have also tried my ps4 dualshock gamepad and work good on C64 so I think I'm missing something. I have red about CJM files. Have I to create a proper file config? Can someone gently help me?
|
|
|
Post by jj0 on Mar 1, 2021 13:36:06 GMT
Hello guys, I'm new here. I want to thanks you all for the useful informations posted here. I have recently bought theC64 and I have red your suggestions and tests about compatible joystick. After a fast analysis I opted for a Lioncast Fighting Arcade Joystick that should be fully compatible with the console. I have tried a lot but I can't use it. My PC test it without problem, all is functional but on my C64 won't work. I have also tried my ps4 dualshock gamepad and work good on C64 so I think I'm missing something. I have red about CJM files. Have I to create a proper file config? Can someone gently help me? A good staring point would be this thread (that I moved your post to).
|
|
|
Post by gantor on Mar 1, 2021 15:23:07 GMT
Sorry for posting error. I have done some try... I have used SDL tool but I was blocked at point 7 of your "manual". I don't understand well where to find HID numbers and how to convert it in the proper format. I have also done the new string in the .txt file but I have also to assign direction/buttons in that or the c64 will assign it automatically? Finally how can I let c64 read the new gamecontrollers file? Thanks a lot for your kindly support.
|
|
|
Post by gantor on Mar 3, 2021 22:11:01 GMT
Hello again. I've done bit progress.
1) I've installed "Project Carousel" that works fine, I've used SDL Tools and find all the data need to configure my Joystick (Lioncast Arcade). the data is: 03000000d620000013a7000000000000,Switch Controller,platform:Windows 2) I've checked device manager and found: HID\VID_20D6&PID_A713&REV_0100 3) So I changed data in: 03000000d620000013a7000000010000,Switch Controller,platform:Linux, 4) I tried to manage config with SDL (Create a New Mapping) found this: a:b0,b:b3,x:b1,y:b2,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpdown:a1,dpleft:a0,dpright:a0,lefttrigger:b6,righttrigger:b7 (i think something was wrong here) 5) I've launched Project Carousel. Used X-Windows Mod and edited gamecontrollers.txt adding the string suggested (03000000d620000013a7000000010000,Switch Controller,a:b0,b:b3,x:b1,y:b2,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpdown:a1,dpleft:a0,dpright:a0,lefttrigger:b6,righttrigger:b7,platform:Linux,) 6) Exit X-Windows Mod I've relaunched the Carousel now:
i can't use the Lioncast joystick to select carousel games (only work 1 button like fire1) BUT if I use CTRL-F7 to change selection of games in the new screen with games from 0 to Z the Lioncast works properly (stick+buttons) BUT only in that screen.
What's wrong with my config?
Tnaks for help!
|
|
|
Post by jj0 on Mar 7, 2021 16:24:11 GMT
Hello again. I've done bit progress. 1) I've installed "Project Carousel" that works fine, I've used SDL Tools and find all the data need to configure my Joystick (Lioncast Arcade). the data is: 03000000d620000013a7000000000000,Switch Controller,platform:Windows 2) I've checked device manager and found: HID\VID_20D6&PID_A713&REV_0100 3) So I changed data in: 03000000d620000013a7000000010000,Switch Controller,platform:Linux, 4) I tried to manage config with SDL (Create a New Mapping) found this: a:b0,b:b3,x:b1,y:b2,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpdown:a1,dpleft:a0,dpright:a0,lefttrigger:b6,righttrigger:b7 (i think something was wrong here) 5) I've launched Project Carousel. Used X-Windows Mod and edited gamecontrollers.txt adding the string suggested (03000000d620000013a7000000010000,Switch Controller,a:b0,b:b3,x:b1,y:b2,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpdown:a1,dpleft:a0,dpright:a0,lefttrigger:b6,righttrigger:b7,platform:Linux,) 6) Exit X-Windows Mod I've relaunched the Carousel now: i can't use the Lioncast joystick to select carousel games (only work 1 button like fire1) BUT if I use CTRL-F7 to change selection of games in the new screen with games from 0 to Z the Lioncast works properly (stick+buttons) BUT only in that screen. What's wrong with my config? Tnaks for help! It's hard to say, you could try to remap according to what (I think) the THE64 joystick uses: THE64 Joystick | gamecontrollerdb.txt input name | Left Fire | lefttrigger | Right Fire | righttrigger | Left Triangle | x | Right Triangle | y | Menu 1 | a | Menu 2 | b | Menu 3 | back | Menu 4 | start | Left/Right | leftx | Up/Down | lefty |
Note that for Left/Right and Up/Down it uses the left analog stick mapping, but it also works fine using dpdleft/dpright and dpup/dpdown instead. So if your controller only reports dpd<xxx> and not leftx/lefty then you can still use it. So figure out what each axis/button on your Lioncast is called and assign those to the gamecontrollerdb.txt string. By the way, you can edit the gamecontrollerdb.txt on the PCU USB disk directly on another computer, you don't need to do it via XWM (though you can). Then test it by loading anykey-64.prg from a USB-stick without anything else on it - this will ensure no CJM-files are in the way. If that works OK then your joystick should work in the Carousel as well. It should also work in games, but as there can be different mappings made in individual game files (.TSG files), you might have the occasional issue. Also, I'm a bit confused by your 'dpup:a1,dpdown:a1,dpleft:a0,dpright:a0' mapping as I think that makes up equal down and left equal right. I would try to replace this with either 'leftx:a0,lefty:a1' or 'dpup:-a1,dpdown:a1,dpleft:-a0,dpright:a0'.
|
|
|
Post by MeneerJansen on Mar 10, 2021 14:33:28 GMT
[...] a:b0,b:b3,x:b1,y:b2,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpdown:a1,dpleft:a0,dpright:a0,lefttrigger:b6,righttrigger:b7 (i think something was wrong here) At a quick glance I think that I see something that may or may not cause trouble: leftstick:b10,rightstick:b11
I think that "stick" means literally the stick (or D-pad) on your controller. However, the letter "b" in the file gamecontrollerdb.txt always stands for "button". The letter a stands for axis. A stick has two axis: a0 and a1 (i.e. the X- and Y-axis). So the entry "leftstick" might have to be linked to something like a2 or a3. Beware: you've already configured axis a0 and a1! Use the following utility in Linux to determine the axis and button numbers from your controller:jstest /dev/input/js0 Good luck! P.S. For one of my controllers I had to use -a0 and +a0 for left and right (and -a1 and +a1 for up and down)
|
|
|
Post by spannernick on Mar 11, 2021 11:46:21 GMT
Hello again. I've done bit progress. 1) I've installed "Project Carousel" that works fine, I've used SDL Tools and find all the data need to configure my Joystick (Lioncast Arcade). the data is: 03000000d620000013a7000000000000,Switch Controller,platform:Windows 2) I've checked device manager and found: HID\VID_20D6&PID_A713&REV_0100 3) So I changed data in: 03000000d620000013a7000000010000,Switch Controller,platform:Linux, 4) I tried to manage config with SDL (Create a New Mapping) found this: a:b0,b:b3,x:b1,y:b2,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpdown:a1,dpleft:a0,dpright:a0,lefttrigger:b6,righttrigger:b7 (i think something was wrong here) 5) I've launched Project Carousel. Used X-Windows Mod and edited gamecontrollers.txt adding the string suggested (03000000d620000013a7000000010000,Switch Controller,a:b0,b:b3,x:b1,y:b2,back:b8,guide:b12,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:a1,dpdown:a1,dpleft:a0,dpright:a0,lefttrigger:b6,righttrigger:b7,platform:Linux,) 6) Exit X-Windows Mod I've relaunched the Carousel now: i can't use the Lioncast joystick to select carousel games (only work 1 button like fire1) BUT if I use CTRL-F7 to change selection of games in the new screen with games from 0 to Z the Lioncast works properly (stick+buttons) BUT only in that screen. What's wrong with my config? Tnaks for help! It's hard to say, you could try to remap according to what (I think) the THE64 joystick uses: THE64 Joystick | gamecontrollerdb.txt input name | Left Fire | lefttrigger | Right Fire | righttrigger | Left Triangle | x | Right Triangle | y | Menu 1 | a | Menu 2 | b | Menu 3 | back | Menu 4 | start | Left/Right | leftx | Up/Down | lefty |
Note that for Left/Right and Up/Down it uses the left analog stick mapping, but it also works fine using dpdleft/dpright and dpup/dpdown instead. So if your controller only reports dpd<xxx> and not leftx/lefty then you can still use it. So figure out what each axis/button on your Lioncast is called and assign those to the gamecontrollerdb.txt string. By the way, you can edit the gamecontrollerdb.txt on the PCU USB disk directly on another computer, you don't need to do it via XWM (though you can). Then test it by loading anykey-64.prg from a USB-stick without anything else on it - this will ensure no CJM-files are in the way. If that works OK then your joystick should work in the Carousel as well. It should also work in games, but as there can be different mappings made in individual game files (.TSG files), you might have the occasional issue. Also, I'm a bit confused by your 'dpup:a1,dpdown:a1,dpleft:a0,dpright:a0' mapping as I think that makes up equal down and left equal right. I would try to replace this with either 'leftx:a0,lefty:a1' or 'dpup:-a1,dpdown:a1,dpleft:-a0,dpright:a0'. Ah I always wondered why when plugging in a Snes controller that the left and right shoulder buttons are fire they must act like fire in the carousel, they must must trigger buttons, the mapping is from a Snes controller, cause the Carousel is a copy of RetroArch. On the RPI Retropie, the Snes controller was the first controller it supported and you would use the GPIO pins to connect it, a real Sens Controller before the usb versions came along, that why it still uses that mapping, after Microsoft started using that mapping on there controllers it came universal, the Microsoft Xbox Controller is a copy of the Sega Dreamcast and Nintendo 64 Controllers, they copy one another.
|
|
|
Post by gantor on Mar 13, 2021 21:12:36 GMT
Thanks for all the replies.
Well... atm NO WAY!
I've tried to change gamecontrollers.txt string with: 03000000d620000013a7000000010000,Switch Controller,a:b3,b:b2,x:b1,y:b0,back:b9,guide:b12,start:b8,leftshoulder:b4,rightshoulder:b5,dpup:-a1,dpdown:a1,dpleft:-a0,dpright:a0,lefttrigger:b6,righttrigger:b7,platform:Linux, (i have cancel leftstick, rightstick and mapped -a0, a0 -a1, a1 dpleft dpright dpup dpdown). Nothing to do, always my lioncast fighting arcade works only in the ctrl F7 screen to select type of games (stick + all buttons fine) in games or carousel nothing all is blocked.
I've also tried to add the string either in gamecontrollers.txt file (Carousel_Games/Options/Controllers) and gamecontrollers.txt file (Carousel_Games/thecarousel/data) nothing happen.
I've tried to do more configs with a stick of a friend (HORI Fighting Stick MINI) that is set in gamecontrollers.txt file (xinput,XInput Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux,) nothing! This one didn't work at all (also in the ctrl f7 screen no movements or buttons).
I've used X-Windows Mod with "Test Joystick Buttons PCU" utility with the Lioncast (switch controller) all seems to work properly the results are:
event 3: Switch Controller ABS X when started utility blank when stick was moved left or right the bar remains central(half bar), all left blank bar, all right full bar; ABS Y when started utility blank when stick was moved up or down the bar remains central(half bar), all up blank bar, all down full bar; ABS Z and RZ nothing ABS HAT0X 0Y nothing All buttons work properly when pressed.
data are: input driver version 1.01 device ID bus: 0x3 vendor: 0x20d6 product: 0xa713 version 0x111 name: switch controller device: phys usb-sunxi-ehci-1.1/input0
At the moment I have no more ideas how to let work the arcade stick; i've tried my ps4 dualshock and all was good no need to set (just fire1 in R1 not so confortable but ok). But i prefer a stick as in old c64.
If someone of you have same idea I will make other attempts.
Thanks again!
|
|
|
Post by MeneerJansen on Mar 14, 2021 14:47:20 GMT
I've also tried to add the string either in gamecontrollers.txt file (Carousel_Games/Options/Controllers) and gamecontrollers.txt file (Carousel_Games/thecarousel/data) nothing happen. You probably are trying to "play" it safe by not changing the gamecontrollers.txt file in /usr/share/the64/ui/data/. Maybe the developers of PCU or XWM can explain if changing one the gamecontrollers.txt files that are in the locations that you mention will work at al... Probably will, but not on my setup. And if you want to know if you used the proper button mappings then run in Linux: jstest /dev/input/js0
(if you've got one single joystick connected). If you don't, you'll be guessing for 10.000 years if you got it right. Good luck! P.S. The e-mail notification for this forum is failing work yet again so any replies will "pass me by".
|
|
|
Post by gantor on Mar 14, 2021 16:30:31 GMT
Thanks! Unfortunately I never used Linux and, in addition, I have 2 joystick connected to my PC (X56 Rhino used for Elite Dangerous) that I can't disconnect. I have red in an old post about 1 or 2 users that use succesfully the Lioncast arcade, If you reasd this post can you gently let me know how have you config it? TY The link is thec64community.online/thread/12/which-joysticks-work-mini-listfirst post: L lroby7420 days ago I am using a Lioncast joystick arcade, this one has 2 different plugs, you can use USB if playing only alone or can use PSX Plug of same joystick if used with a PSX Gamepad splitter that permit to choose if use port 1 or port 2 on games (and permit to connect 2 joystick together) L lroby7413 days ago FineLerv Surely not his one I am fine with Lioncast USB (and PSX Plug) arcade stick (directions are on microswitches but buttons not)
|
|
|
Post by MeneerJansen on Mar 15, 2021 11:09:59 GMT
Thanks! Unfortunately I never used Linux and, in addition, I have 2 joystick connected to my PC (X56 Rhino used for Elite Dangerous) that I can't disconnect. I have red in an old post about 1 or 2 users that use succesfully the Lioncast arcade, If you reasd this post can you gently let me know how have you config it? TY The link is thec64community.online/thread/12/which-joysticks-work-mini-listfirst post: L lroby7420 days ago I am using a Lioncast joystick arcade, this one has 2 different plugs, you can use USB if playing only alone or can use PSX Plug of same joystick if used with a PSX Gamepad splitter that permit to choose if use port 1 or port 2 on games (and permit to connect 2 joystick together) L lroby7413 days ago FineLerv Surely not his one I am fine with Lioncast USB (and PSX Plug) arcade stick (directions are on microswitches but buttons not) 1. Could you please use quote tags around quotes? Your reply is close to unreadable. 2. You can start 'The C64' in Linux mode. It's called the X-Windows Mod (XWM). Link: thec64community.online/thread/487/thec64-windows-mod 3. Ask if the (standard) utility called jstest is in XWM in that forum topic. 4. Is the joystick you're talking about the one in the picture below? It has been sold in red too. I think the red one was only for the PS2, PS3 and PC. The blue one is for the PS4 and PC. So it appears there are two hardware revisions of this thing. I hope taht you'll understand that the particulars for the one won't work for the other so you'll have to find that out yourself. 5. If the stick above is the one we're talking about then it has got ONE (1!) single stick/D-pad. Your entry in gamecontrollerdb.txt has two. So I know you're not understanding how to construct the line of text that should be in gamecontrollerdb.txt. Try to boot a computer in Linux ( link Ubuntu startup USB stick) and post in this forum the output of: jstest /dev/input/js0 6. I cannot answer your questions anymore before I see the line from jstest. Maybe somebody else can, but I can't. 7. BTW I'm very confused about the fact that you're talking about gamecontrollerdb.txt in more than one location on your The C64. Because mine is in only one location. This might have something to do with XWM or PCU. Can somebody explain that to me? 8. Messing with gamecontrollerdb.txt might cause your The C64 to "brick" at a future firmware upgrade. Just a warning.
|
|
|
Post by gantor on Mar 15, 2021 18:05:34 GMT
Thanks for your appreciate help MeneerJansen! 1) sorry for quote error I'm with my cell phone and is a bit difficult to quote correctly:) 2) I've used xwindows mod but only in the version created inside "project carousel usb". In that xwindows mod I've done the joystick test with the program "test joystick buttons PCU" (evtest) 3) I have to try directly xwindows mod or as I did with carousel is equal? 4) mine joystick is equal to that in picture (Lioncast blu version ps4 etc) 5) I will try as soon I can... hope in 2-3 days (sorry but I have some problem at work and I haven't got much time by now ) 6) OK as soon as I can I post the results 7) the gamecontrollers.txt are in the path in my usb that contain PCU. I have always changed files in PCU to avoid bricks in the c64. Aren't the correct file to change? 8) related to previous answer. It's possible to change gamecontrollers.txt only in PCU without modifications in the original firmware file? In previous Post it seems that it's possible or maybe I misunderstanding? Thanks.
|
|
|
Post by beriadan77 on Mar 22, 2021 22:59:56 GMT
Hi! So got two "NES NEXT Controllers" gamepads. The tool has mappings for it. They working from the start, or almost!
- I press the START button on the gamepad, and the Maxi menu appears in-game at the bottom of the screen, I can navigate the options but the FIRE buttons (A/B) do nothing. - Inside some games the FIRE button doesn't respond either.
So my questions: 1. Is this related to how the game is mapped on the PCU app? ie: J:1:JU,JD,JL,JR,JF,JF,SP,EN,,F1,F3,F5,,, 2. If so, what should I use there so the Fire button works in all cases? I don't need the SP, EN, F1... as far as I understand. 3. Would something like J:1:JU,JD,JL,JR,JF,JF,JF,JF,JF,JF,JF,JF,JF etc. work? 4. Where is the "START" button defined? The PCU tool doesn't allow the mapping of the last button of the THEC64 Joystick anyway.
Thank you! beriadan77
|
|
|
Post by jj0 on Mar 23, 2021 13:58:04 GMT
Thanks for your appreciate help MeneerJansen! 1) sorry for quote error I'm with my cell phone and is a bit difficult to quote correctly:) 2) I've used xwindows mod but only in the version created inside "project carousel usb". In that xwindows mod I've done the joystick test with the program "test joystick buttons PCU" (evtest) 3) I have to try directly xwindows mod or as I did with carousel is equal? 4) mine joystick is equal to that in picture (Lioncast blu version ps4 etc) 5) I will try as soon I can... hope in 2-3 days (sorry but I have some problem at work and I haven't got much time by now ) 6) OK as soon as I can I post the results 7) the gamecontrollers.txt are in the path in my usb that contain PCU. I have always changed files in PCU to avoid bricks in the c64. Aren't the correct file to change? 8) related to previous answer. It's possible to change gamecontrollers.txt only in PCU without modifications in the original firmware file? In previous Post it seems that it's possible or maybe I misunderstanding? Thanks. My $0.01: 3) Carousel XWM is the same as the standalone XWM 7) Yes, the gamecontrollerdb.txt that's in PCU (Carousel_Games/Options/Controllers/gamecontrollerdb.txt) is the one to edit. 8) Yes, that's correct so once you get it working the Lioncast controller will not work without PCU - unless you copy the PCU gamecontrollerdb.txt to the original firmware. Btw, jstest is also part of XWM so you can run it from the terminal window in XWM. But from your evtest output that only ABS_X and ABS_Y have input you can already infer that you have two axes, so a0 and a1. Another thing I noted, you report your Lioncast to appear as: device ID bus: 0x3 vendor: 0x20d6 product: 0xa713 version 0x111 So the version is 1.11 but in the ID string you use 1.00 (from Windows HID\VID_20D6&PID_A713&REV_0100) 03000000d620000013a7000000010000 So I think that the string should be: 03000000d620000013a7000011010000 Also, it's best to start with a gamecontrollerdb.txt that has only the string for the joystick you want to test in it so you are sure that is the one that should be used. Oh and the fact that it works on the CTRL-7 game folder select screen doesn't mean anything, that doesn't use gamecontrollerdb.txt at all.
|
|
|
Post by jj0 on Mar 23, 2021 14:37:09 GMT
Hi! So got two "NES NEXT Controllers" gamepads. The tool has mappings for it. They working from the start, or almost! - I press the START button on the gamepad, and the Maxi menu appears in-game at the bottom of the screen, I can navigate the options but the FIRE buttons (A/B) do nothing. - Inside some games the FIRE button doesn't respond either. So my questions: 1. Is this related to how the game is mapped on the PCU app? ie: J:1:JU,JD,JL,JR,JF,JF,SP,EN,,F1,F3,F5,,, 2. If so, what should I use there so the Fire button works in all cases? I don't need the SP, EN, F1... as far as I understand. 3. Would something like J:1:JU,JD,JL,JR,JF,JF,JF,JF,JF,JF,JF,JF,JF etc. work? 4. Where is the "START" button defined? The PCU tool doesn't allow the mapping of the last button of the THEC64 Joystick anyway. Thank you! beriadan77 1. Yes, probably. 2/3. If you are sure you don't need other keys for some games then yes, define all buttons as JF 4. The START button is defined in gamecontrollerdb.txt, it is not remappable via a CJM file. This is by design, otherwise you would not be able to access the savestate/keyboard/exit menu from the game.
|
|
|
Post by beriadan77 on Mar 23, 2021 21:41:45 GMT
Hi! So got two "NES NEXT Controllers" gamepads. The tool has mappings for it. They working from the start, or almost! - I press the START button on the gamepad, and the Maxi menu appears in-game at the bottom of the screen, I can navigate the options but the FIRE buttons (A/B) do nothing. - Inside some games the FIRE button doesn't respond either. So my questions: 1. Is this related to how the game is mapped on the PCU app? ie: J:1:JU,JD,JL,JR,JF,JF,SP,EN,,F1,F3,F5,,, 2. If so, what should I use there so the Fire button works in all cases? I don't need the SP, EN, F1... as far as I understand. 3. Would something like J:1:JU,JD,JL,JR,JF,JF,JF,JF,JF,JF,JF,JF,JF etc. work? 4. Where is the "START" button defined? The PCU tool doesn't allow the mapping of the last button of the THEC64 Joystick anyway. Thank you! beriadan77 1. Yes, probably. 2/3. If you are sure you don't need other keys for some games then yes, define all buttons as JF 4. The START button is defined in gamecontrollerdb.txt, it is not remappable via a CJM file. This is by design, otherwise you would not be able to access the savestate/keyboard/exit menu from the game. Thanks so much for your reply. Any clue why the FIRE button won't work at the START menu during a game? I can't exit a game due to that, basically :-(
|
|
|
Post by jj0 on Mar 23, 2021 22:14:40 GMT
1. Yes, probably. 2/3. If you are sure you don't need other keys for some games then yes, define all buttons as JF 4. The START button is defined in gamecontrollerdb.txt, it is not remappable via a CJM file. This is by design, otherwise you would not be able to access the savestate/keyboard/exit menu from the game. Thanks so much for your reply. Any clue why the FIRE button won't work at the START menu during a game? I can't exit a game due to that, basically :-( So if I understand correctly you can start a game in the Carousel with the fire button, but that same fire button doesn't work in the menu during any game? What button do you use to start the game? What game does the fire button work in OK, and which button? And what's the line in gamecontrollerdb.txt that matches your controller?
|
|
|
Post by gantor on Mar 23, 2021 22:23:12 GMT
My $0.01: 3) Carousel XWM is the same as the standalone XWM 7) Yes, the gamecontrollerdb.txt that's in PCU (Carousel_Games/Options/Controllers/gamecontrollerdb.txt) is the one to edit. 8) Yes, that's correct so once you get it working the Lioncast controller will not work without PCU - unless you copy the PCU gamecontrollerdb.txt to the original firmware. Btw, jstest is also part of XWM so you can run it from the terminal window in XWM. But from your evtest output that only ABS_X and ABS_Y have input you can already infer that you have two axes, so a0 and a1. Another thing I noted, you report your Lioncast to appear as: device ID bus: 0x3 vendor: 0x20d6 product: 0xa713 version 0x111 So the version is 1.11 but in the ID string you use 1.00 (from Windows HID\VID_20D6&PID_A713&REV_0100) 03000000d620000013a7000000010000 So I think that the string should be: 03000000d620000013a7000011010000 Also, it's best to start with a gamecontrollerdb.txt that has only the string for the joystick you want to test in it so you are sure that is the one that should be used. Oh and the fact that it works on the CTRL-7 game folder select screen doesn't mean anything, that doesn't use gamecontrollerdb.txt at all. Thanks to all you guys but a special thanks to jj0!! Your string was correct!!! My Lioncast works properly right now. I hope the full string would be useful for others that want a good stick for C64: 03000000d620000013a7000011010000,Switch Controller,a:b3,b:b2,x:b1,y:b0,back:b9,guide:b12,start:b8,leftshoulder:b4,rightshoulder:b5,dpup:-a1,dpdown:a1,dpright:+a0,dpleft:-a0,lefttrigger:b6,righttrigger:b7,platform:Linux Time to have a good session with Wizball guys!!
|
|
|
Post by jj0 on Mar 24, 2021 9:40:39 GMT
My $0.01: 3) Carousel XWM is the same as the standalone XWM 7) Yes, the gamecontrollerdb.txt that's in PCU (Carousel_Games/Options/Controllers/gamecontrollerdb.txt) is the one to edit. 8) Yes, that's correct so once you get it working the Lioncast controller will not work without PCU - unless you copy the PCU gamecontrollerdb.txt to the original firmware. Btw, jstest is also part of XWM so you can run it from the terminal window in XWM. But from your evtest output that only ABS_X and ABS_Y have input you can already infer that you have two axes, so a0 and a1. Another thing I noted, you report your Lioncast to appear as: device ID bus: 0x3 vendor: 0x20d6 product: 0xa713 version 0x111 So the version is 1.11 but in the ID string you use 1.00 (from Windows HID\VID_20D6&PID_A713&REV_0100) 03000000d620000013a7000000010000 So I think that the string should be: 03000000d620000013a7000011010000 Also, it's best to start with a gamecontrollerdb.txt that has only the string for the joystick you want to test in it so you are sure that is the one that should be used. Oh and the fact that it works on the CTRL-7 game folder select screen doesn't mean anything, that doesn't use gamecontrollerdb.txt at all. Thanks to all you guys but a special thanks to jj0!! Your string was correct!!! My Lioncast works properly right now. I hope the full string would be useful for others that want a good stick for C64: 03000000d620000013a7000011010000,Switch Controller,a:b3,b:b2,x:b1,y:b0,back:b9,guide:b12,start:b8,leftshoulder:b4,rightshoulder:b5,dpup:-a1,dpdown:a1,dpright:+a0,dpleft:-a0,lefttrigger:b6,righttrigger:b7,platform:Linux Time to have a good session with Wizball guys!! Cool, glad that it's finally working. Enjoy your Wizzball session
|
|
|
Post by beriadan77 on Mar 24, 2021 13:30:29 GMT
Thanks so much for your reply. Any clue why the FIRE button won't work at the START menu during a game? I can't exit a game due to that, basically :-( So if I understand correctly you can start a game in the Carousel with the fire button, but that same fire button doesn't work in the menu during any game? What button do you use to start the game? What game does the fire button work in OK, and which button? And what's the line in gamecontrollerdb.txt that matches your controller? Hi. Just in case, these are NES gamepads, not SNES. So I went back and tried the SDL2 Gamepad Tool to remap the buttons by creating a new profile "NEXT NES" instead of the proposed one by the app: "NEXT SNES". These gamepads only have 2 fire buttons (A and B), hence my decision and attempt. The behavior I see is the same as when I just tried the standard NEXT SNES, so nothing changed in spite of my attempt :-( 1- Strangely, starting a game from the carousel ONLY works with pressing B, not A. Is there a place where I can setup this differently? 2- If I open the savestate/keyboard/exit menu (that works perfectly when pressing the START button on the gamepad) I cannot activate any options as NO button works except the START button to close the menu. This is very weird! 3- For testing purposes, I mapped the game Atic Atak with: J:2*:JU,JD,JL,JR,JF,JF,JF,JF,JF,JF, etc... The game works perfectly now, but again, I can't exit it due to the savestate/keyboard/exit menu issue. 4- The line I added to the gamecontrollerdb.txt is: 030000001008000001e50000000010600,NEXT NES Controller,platform:Linux,b:b1,x:b0,back:b8,start:b9,dpup:-a1,dpdown:+a1,dpleft:-a0,dpright:+a0, Clearly, with my "new" preset for "NEXT NES", instead of NEXT SNES. 5- I believe (and hope) there has to be a file that can setup ALL games instead of having to go one by one in the case of my point 3. above? PS It would be AWESOME if the PCU app had different joystick/gamepads diagrams! :-) I guess this is a planned feature. Thanks SO much for your time!!! You're very kind. beriadan77
|
|
|
Post by jj0 on Mar 24, 2021 14:09:15 GMT
So if I understand correctly you can start a game in the Carousel with the fire button, but that same fire button doesn't work in the menu during any game? What button do you use to start the game? What game does the fire button work in OK, and which button? And what's the line in gamecontrollerdb.txt that matches your controller? Hi. Just in case, these are NES gamepads, not SNES. So I went back and tried the SDL2 Gamepad Tool to remap the buttons by creating a new profile "NEXT NES" instead of the proposed one by the app: "NEXT SNES". These gamepads only have 2 fire buttons (A and B), hence my decision and attempt. The behavior I see is the same as when I just tried the standard NEXT SNES, so nothing changed in spite of my attempt :-( 1- Strangely, starting a game from the carousel ONLY works with pressing B, not A. Is there a place where I can setup this differently? 2- If I open the savestate/keyboard/exit menu (that works perfectly when pressing the START button on the gamepad) I cannot activate any options as NO button works except the START button to close the menu. This is very weird! 3- For testing purposes, I mapped the game Atic Atak with: J:2*:JU,JD,JL,JR,JF,JF,JF,JF,JF,JF, etc... The game works perfectly now, but again, I can't exit it due to the savestate/keyboard/exit menu issue. 4- The line I added to the gamecontrollerdb.txt is: 030000001008000001e50000000010600,NEXT NES Controller,platform:Linux,b:b1,x:b0,back:b8,start:b9,dpup:-a1,dpdown:+a1,dpleft:-a0,dpright:+a0, Clearly, with my "new" preset for "NEXT NES", instead of NEXT SNES. 5- I believe (and hope) there has to be a file that can setup ALL games instead of having to go one by one in the case of my point 3. above? PS It would be AWESOME if the PCU app had different joystick/gamepads diagrams! :-) I guess this is a planned feature. Thanks SO much for your time!!! You're very kind. beriadan77 The official THE64/VIC20 joysticks use: THE64 Joystick | gamecontrollerdb.txt input name | Left Fire | lefttrigger | Right Fire | righttrigger | Left Triangle | x | Right Triangle | y | Menu 1 | a | Menu 2 | b | Menu 3 | back | Menu 4 | start | Left/Right | leftx | Up/Down | lefty |
4. Leaving the fact that your string uses dpup/dpdonw/dpleft/dpright (which also work) alone, you seem to be missing lefttrigger, righttrigger, x and a. If you map at least lefttrigger to the fire button of your choice then possibly/probably you should be able to use that key to start games in the Carousel and also use the in-game menu. 1. Probably you have to use a:b1 instead of b:b1 2. Map lefttrigger to the fire button on your controller 3. See 2 5. Not for Carousel games as each of them has their own definition file. For games loaded from USB you can use a default CJM file 'thec64-default.cjm' in a directory.
|
|
|
Post by beriadan77 on Mar 24, 2021 14:49:14 GMT
Hi. Just in case, these are NES gamepads, not SNES. So I went back and tried the SDL2 Gamepad Tool to remap the buttons by creating a new profile "NEXT NES" instead of the proposed one by the app: "NEXT SNES". These gamepads only have 2 fire buttons (A and B), hence my decision and attempt. The behavior I see is the same as when I just tried the standard NEXT SNES, so nothing changed in spite of my attempt :-( 1- Strangely, starting a game from the carousel ONLY works with pressing B, not A. Is there a place where I can setup this differently? 2- If I open the savestate/keyboard/exit menu (that works perfectly when pressing the START button on the gamepad) I cannot activate any options as NO button works except the START button to close the menu. This is very weird! 3- For testing purposes, I mapped the game Atic Atak with: J:2*:JU,JD,JL,JR,JF,JF,JF,JF,JF,JF, etc... The game works perfectly now, but again, I can't exit it due to the savestate/keyboard/exit menu issue. 4- The line I added to the gamecontrollerdb.txt is: 030000001008000001e50000000010600,NEXT NES Controller,platform:Linux,b:b1,x:b0,back:b8,start:b9,dpup:-a1,dpdown:+a1,dpleft:-a0,dpright:+a0, Clearly, with my "new" preset for "NEXT NES", instead of NEXT SNES. 5- I believe (and hope) there has to be a file that can setup ALL games instead of having to go one by one in the case of my point 3. above? PS It would be AWESOME if the PCU app had different joystick/gamepads diagrams! :-) I guess this is a planned feature. Thanks SO much for your time!!! You're very kind. beriadan77 The official THE64/VIC20 joysticks use: THE64 Joystick | gamecontrollerdb.txt input name | Left Fire | lefttrigger | Right Fire | righttrigger | Left Triangle | x | Right Triangle | y | Menu 1 | a | Menu 2 | b | Menu 3 | back | Menu 4 | start | Left/Right | leftx | Up/Down | lefty |
4. Leaving the fact that your string uses dpup/dpdonw/dpleft/dpright (which also work) alone, you seem to be missing lefttrigger, righttrigger, x and a. If you map at least lefttrigger to the fire button of your choice then possibly/probably you should be able to use that key to start games in the Carousel and also use the in-game menu. 1. Probably you have to use a:b1 instead of b:b1 2. Map lefttrigger to the fire button on your controller 3. See 2 5. Not for Carousel games as each of them has their own definition file. For games loaded from USB you can use a default CJM file 'thec64-default.cjm' in a directory. Uhmmm... so can I do this manually? Would something like this work? 1. Mapping A, B, X and Y to b1 and b2. 2. I assigned the leftx and lefty to the directions (the analog stick apparently in the SDL2 gamepad app). 3. left and right triggers to b0 and b1. 030000001008000001e5000000010600,NEXT NES Controller,platform:Linux,a:b1,b:b2,x:b1,y:b2,start:b9,leftx:a0,lefty:a1,lefttrigger:b0,righttrigger:b1,
|
|
|
Post by jj0 on Mar 24, 2021 17:27:00 GMT
Uhmmm... so can I do this manually? Would something like this work? 1. Mapping A, B, X and Y to b1 and b2. 2. I assigned the leftx and lefty to the directions (the analog stick apparently in the SDL2 gamepad app). 3. left and right triggers to b0 and b1. 030000001008000001e5000000010600,NEXT NES Controller,platform:Linux,a:b1,b:b2,x:b1,y:b2,start:b9,leftx:a0,lefty:a1,lefttrigger:b0,righttrigger:b1, Yes you can edit the configuration manually. I'm not sure what the dual assignment of b0 and b1 is going to to do though, if you the press b0 do you want THE64 to register this both as x (= Left Triangle) and lefttrigger (=Left Fire)? That doesn't seem useful.
|
|