Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Xbox gamepad / xinput support #343

Open
Gagert opened this issue Jul 28, 2023 · 6 comments
Open

Feature Request: Xbox gamepad / xinput support #343

Gagert opened this issue Jul 28, 2023 · 6 comments

Comments

@Gagert
Copy link

Gagert commented Jul 28, 2023

It would be neat to be able to enjoy Carma 1 + Splat Pack with proper controller support, making it possible to map everything to an Xbox gamepad / xinput device. Perfect for couch gaming in front of the TV.

I suppose SDL2 has support for xinput, or at least the various Xbox gamepads. Even a simple text file for button mapping on an xinput device would be more than good enough if you ask me.

@jeff-1amstudios
Copy link
Collaborator

jeff-1amstudios commented Aug 4, 2023

Yep, this is on my mental list. I don’t have a gamepad currently but was planning to get one to implement this unless someone beats me to it!

Original game has support for joysticks, so it should be a simple ish matter of hooking up gamepad input to the original joystick stubs

@Gagert
Copy link
Author

Gagert commented Aug 4, 2023

I haven't personally played Carmageddon 1 with a joystick before, but I wonder how the game originally handled a joystick? Is it only the various keyboard button commands mapped to a joystick, or was it more fancy like 360 degree movement comparable to the analogue stick on an Xbox gamepad instead of just left, right, reverse and forward?

This might sound like a dumb question but way back then in the late 90s I barely touched any kind of relevant joysticks or gamepads for PCs (keyboard & mouse only back then).

If Carmageddon 1 supported 360 degree movement in its code, this could be very beneficial for modern Xbox gamepads.

@JYouren
Copy link

JYouren commented Aug 13, 2023

Way back when I purchased an original carmageddon copy in a box it actually came with a free pc controller! From memory it was very similar to sega mega drive/genesis type controllers. It was fairly cheap being free, and I don't remember using it much, preferring the keyboard.

@NebularNerd
Copy link

I've played Carmageddon with many controllers over the years. It fully supports proper analogue steering and acceleration. One of my happiest times playing this was with a steering wheel and pedals years ago. Used to be great fun for hurtling around.

You can map most functions to the buttons as memory serves, if you had enough buttons you rarely needed the keyboard during play.

@fluddsskark
Copy link

is it implemented now?

@Serasul1984
Copy link

Serasul1984 commented Nov 17, 2024

Yep, this is on my mental list. I don’t have a gamepad currently but was planning to get one to implement this unless someone beats me to it!

Original game has support for joysticks, so it should be a simple ish matter of hooking up gamepad input to the original joystick stubs

i played C1 C2 and Max damage on steam recently all work with the steam controller tool (joy 2 key)

but when you test C1 and C2 outside of steam as a standalone version, only max damage works fine with a joy 2 key tool the older ones get weird bugs or dont react.
ans playing C1 only with keyboard is horrible because of the bad steering and because there are to much keys.

full controller support where every button can be set, is a must

best joy2key tools cost money these times and most players have a usb xbox or playstation controller at home OR the good old rumblepad 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants