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

Added driving joystick type to windows joystick handling #44082

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

BastiaanOlij
Copy link
Contributor

@BastiaanOlij BastiaanOlij commented Dec 4, 2020

Was playing around with my new G29 steeringwheel, found out that Godot stopped recognising it as a joystick after installing drivers. Turns out that when proper drivers are installed, steering wheel is recognised in Windows as DI8DEVTYPE_DRIVING
and we're ignoring that one.

So simply added that to the list of things we no longer ignore and it works like a charm.

If cherry picked for 3.2 our 16 button limit is not enough for our G29 shifter buttons but we have 36 buttons in Godot 4 so :).

@Sslaxx
Copy link

Sslaxx commented Dec 4, 2020

Related: #31200

@akien-mga
Copy link
Member

A PR for master would be good yes, cherry-picking happens from master to stable branches usually, not the other way around.

@BastiaanOlij
Copy link
Contributor Author

I'll add it in, its just that I am still working mostly in 3.2 :)

@BastiaanOlij BastiaanOlij requested review from hpvb, reduz and a team as code owners December 4, 2020 12:29
@BastiaanOlij BastiaanOlij changed the base branch from 3.2 to master December 4, 2020 12:29
@BastiaanOlij BastiaanOlij added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Dec 4, 2020
@BastiaanOlij
Copy link
Contributor Author

@akien-mga now on master. I had to hack the joystick demo a bit to test it but it works pretty good

@akien-mga akien-mga merged commit 7815bff into godotengine:master Dec 4, 2020
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.2.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Dec 4, 2020
@BastiaanOlij BastiaanOlij deleted the add_driving_joytype branch February 9, 2021 11:45
@akien-mga akien-mga modified the milestones: 3.2, 3.3 Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants