#Atari VCS and theGAMEPAD mappings for SDL2

1 messages · Page 3 of 1

humble fjord
#

if in the future you want to wiggle out some linux mappings u got my ear but nbd on it

arctic pasture
#

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 🥸

hard sable
#

2002 messages

#

or i suppose 2004 now

tribal schooner
#

Yeah, there's a lot

arctic pasture
#

@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.

humble fjord
#

all the best in yr recovery

humble fjord
#

15 message posts till we reach the current year (AD), then we'll enter the future. we can do it, i believe in us.

arctic pasture
#

@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 😎

humble fjord
#

hmm OK

arctic pasture
#

So... after a bit of messing with the Modern Atari controller, its working as-is

humble fjord
#

the vcs controllers on-console are handled thru kernel driver not gamepad stack so that may be the issue

arctic pasture
#

It appears thats correct. I still haven't been able to check the Classic though... I'll try a different controller

humble fjord
#

mappings for thec64 and thegamepad would be good.. they're probably the same as windows mappings so just need GUID and confirmation of that

arctic pasture
#

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

humble fjord
arctic pasture
#

I've already done that part TBO 🙂

#

Nope there are differences

humble fjord
#

interesting

arctic pasture
#

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,
arctic pasture
#

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

humble fjord
#

or just the description there

#

if you could author me a full mapping i'd appreciate

humble fjord
arctic pasture
humble fjord
#

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

arctic pasture
#

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

humble fjord
#

here's his ID code lol from our dms

#

the reliable tell is "one axis" because that's very uncommon if not singularly unique

arctic pasture
#

Yeah I’ve seen this code before. He was so focused to grab the Classic controller LOL

humble fjord
#

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 🤷‍♀️

humble fjord
#

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)

humble fjord