#Atari VCS and theGAMEPAD mappings for SDL2
1 messages · Page 3 of 1
I’m not bad. I am sitting in the VA waiting for my appointment to begin so I can see what’s up with it now. I hope its good. Will keep you posted
I’ve been thinking about that gamepad for Linux and what happened for you. Too bad cause its really a nice game pad.
I’m gonna work on getting it done for you still. It feels weird not having ALL of the OSes done 🥸
Yeah, there's a lot
@humble fjord Eye is doing well. No new procedure to go through! YAY 😁 I still have a lot of healing yet, but it looks like the main check point passed and it should finish healing correctly.
all the best in yr recovery
15 message posts till we reach the current year (AD), then we'll enter the future. we can do it, i believe in us.
@humble fjord I finally just put together an Ubuntu Linux 22.04 LTS image into VirtualBox and went for testing the gamepads!
Through the VM, for some reason, Neither of the Atari VCS controllers are recognized - at all using Input 5.5.1
Strange enough, the VM DOES see them both AND can tell me the information about each
(I know, I have newer, but this particular project was already gtg)
I AM able to see THEGamepad and Input recognizes it - it needs some tweaking to establish the correct buttons as we've done before, BUT I did just get Linux up and running with GameMaker 😄
Gonna at least test THEC64 Joystick also works and it too needs some tweaks 🙂
I will get to work on them both and follow up with you shortly
Just so you know, I installed both
sudo apt-get install jstest-gtk
sudo apt-get install joystick
I believe those are found in the Manual, but for some reason NOT included in the Linux Build documentation for GameMaker 🤔
Would have been nice to have had that there 😎
hmm OK
So... after a bit of messing with the Modern Atari controller, its working as-is
the vcs controllers on-console are handled thru kernel driver not gamepad stack so that may be the issue
It appears thats correct. I still haven't been able to check the Classic though... I'll try a different controller
mappings for thec64 and thegamepad would be good.. they're probably the same as windows mappings so just need GUID and confirmation of that
I need to grab your SDL Mapper app for Linux if ther eis one... so I am gonna map THEC64 Joystick and THEGamepad real quick
Yeah thats what I was thinking too. I will try replacing the GUID and the platform names
interesting
THEGamepad is done
THEC64 Joystick is next 🙂
LOL
For some strange reason, I copied the Android mappers 🤦♂️
No wonder they were different!
I looked back at the Windows after I realized it and saw they were IDENTICAL except the GUID and platform 🙂
This is strange... the UP value is constantly on even when the stick is not being touched?
Found it.. lefty=a1 not a4
Gonna retest the Windows side now as well just in case...
EDIT Windows mappers are correct
Without further a-do, here are the last two mappings for Linux with THEC64 Joystick and THEGamepad!
THEC64 Joystick
03000000591c00002400000010010000,THEC64 Joystick,a:b0,b:b1,back:b6,leftshoulder:b4,leftx:a0,lefty:a1,rightshoulder:b5,start:b7,x:b2,y:b3,platform:Linux,
THEGamepad
03000000591c00002600000010010000,THEGamepad,a:b2,b:b1,back:b6,leftx:a0,lefty:a1,leftshoulder:b4,rightshoulder:b5,x:b3,y:b0,start:b7,platform:Linux,
I switched the Classic Controller to XBOX mode and it suddenly worked in Linux!
A bit strange, but... it worked 🤷♂️
Obviously, there will not be a Twist in this mode
a bit strange as in the mapping is wrong
or just the description there
if you could author me a full mapping i'd appreciate
welcome to the future 🧑🚀
I will see what I can do. Just so strange the Classic doesn’t work in VCS Mode on Linux. Gonna see if I need to install another package. Gonna see what Retrofriends has on his page that I may have missed
on the vcs itself it seems to work
usb device sharing on the VM end may not be the same as whatever's going on with hardware
🤷♀️
it was pretty janky/broken per retrofriends testing tbh
Thats my thoughts too. Hardware vs VM can always have interesting differences. Hold onto these mappers until I can get Linux on hardware directly so I can do a MUCH better test of all four controllers
here's his ID code lol from our dms
the reliable tell is "one axis" because that's very uncommon if not singularly unique
Yeah I’ve seen this code before. He was so focused to grab the Classic controller LOL
i think the guids were purely speculative bc when i got him to actually test with Input and not his own thing it was irregular guid territory. but that was on the microconsole.. tbh the classic might simply not work on yr average ubuntu install, virtual or no
i feel like it should but 🤷♀️
@arctic pasture can you map me Xbox mode on the Classic thru Linux when you have a spare moment ? that's a unique GUID there 🙂
the Windows mapping (VCS in classic mode)
03000000503200000110000000000000,Atari VCS Classic Controller,a:b0,b:b1,back:b4,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b2,start:b3,platform:Windows,
perhaps the classic joystick should be hat-on-axis ala joyconss
(i can handle the conversion on that for ease)
here's my guess based on your screenshot from Linux and the Windows map..
030000005e0400008e02000047010000,Atari VCS Classic Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,start:b7,platform:Linux,