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

[WIP] Qt/Mapping: Visual GCPad configuration #8063

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spycrab
Copy link
Contributor

@spycrab spycrab commented May 1, 2019

Windows build can be downloaded here (Might not always be up-to-date)

Screenshot

This PR introduces the option to map inputs to the GameCube controller using a more visually pleasing interface which utilizes QtQuick.

Usage

Simply map inputs to a part of a controller by clicking the boxes next to them. If you press a mapped key, the controller will light up the pressed button / move the sticks.

FAQ

A: Will this replace the normal mapping dialog?
Q: No, it's in a separate tab, see the screenshot.

A: Why QtQuick?
Q: While possible with QWidgets it would not be fun to implement and somewhat inflexible. It is also likely that we will be moving more components to QtQuick as time goes on.

TODO

@spycrab spycrab added the WIP / do not merge Work in progress (do not merge) label May 1, 2019
@spycrab
Copy link
Contributor Author

spycrab commented May 1, 2019

Our Debian / Ubuntu buildbots are missing qtdeclarative5-dev at the moment, which is required to build this PR.

@spycrab spycrab force-pushed the qt_visual branch 2 times, most recently from 2b23910 to ec0951d Compare May 1, 2019 14:04
@jordan-woyak
Copy link
Member

jordan-woyak commented May 1, 2019

The stick gates seem to be ten sided instead of eight sided? 😛

@spycrab spycrab force-pushed the qt_visual branch 3 times, most recently from 0ef21c6 to e6bbf1f Compare May 1, 2019 19:18
@spycrab
Copy link
Contributor Author

spycrab commented May 1, 2019

@jordan-woyak Heh, wouldn't have caught that. It's an octagon now.

@spycrab
Copy link
Contributor Author

spycrab commented May 1, 2019

The QML code is now baked into the program at compile time. At least under non-Windows platforms.

@spycrab
Copy link
Contributor Author

spycrab commented May 2, 2019

The increase in total program size will probably be < 10M for all additions AFAICT.

@spycrab
Copy link
Contributor Author

spycrab commented Feb 23, 2020

New Windows build here
Dolphin_Indicator_2020_02_23.zip

This one is a bit bigger because I can't quite use Qt from Externals yet, working on that though.

@spycrab spycrab force-pushed the qt_visual branch 2 times, most recently from 081e7c6 to f3861c3 Compare February 23, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP / do not merge Work in progress (do not merge)
2 participants