Comments (20)
The config.ini file is in a standard location, I don't think there's a need to show the user where that is.
from mgba.
By not having any indication of this functionality in the UI, users won't know that it's an option unless they go digging through the ini files. Most have no clue what ini files are. It's essentially making it a dead feature outside of the pre-configured defaults.
from mgba.
I completely agree, I was just defending the decision to not disclose the location of the config.ini file, since it's in a standard location. That's all :)
from mgba.
The only reason I haven't done this yet is because I haven't figured out what the UI for this should look like. I think there's an open ticket for it in bugzilla, but I'm not sure.
from mgba.
You could go simple. Turn off the auto-progression to the next button and just keep allowing users' inputs to record. Separate the inputs by commas. "4, +1" something like that. You'd need the ability to clear individual buttons, though.
from mgba.
It might also be a good time to work on the UI stuff for hats ( https://endrift.com/mgba/bugs/show_bug.cgi?id=144 ). Wasn't it decided to use arrows for them? ^1, v1, <2, >2
from mgba.
I can use the actual Unicode arrows, you realize. The core doesn't support mapping hats at the moment, though. They're all hard coded to the dpad.
from mgba.
The bigger problem is UNmapping one or the other though, not supporting setting both.
from mgba.
Higan has a decent setup for controller mapping. It's not Qt, but it's a nice concept. https://gitlab.com/higan/higan
from mgba.
You could use a datagrid to handle multiple button assignments. I've seen it done with the OnePAD plugin on PCSX2. Maybe as an advanced config UI? My 2c.
from mgba.
Actually, this is a better link for Higan http://board.byuu.org/phpbb3/viewtopic.php?f=4&t=536
from mgba.
Yes, I'm well familiar with higan :P That said, I may just add "Unmap" buttons for now. I was thinking about doing a much more in-depth UI for 0.3, but that's obviously delayed for now.
from mgba.
He has a "reset" button for clearing all bindings and a "clear" button for clearing the active button's bindings. It works well for multiple mappings.
from mgba.
Partially implemented in a08f092
from mgba.
This works, but the auto-progression skips the leftmost options. Not sure how to fix that without mandating two bindings per button.
from mgba.
I'm not sure what you mean. Leftmost? They should all be equivalent. That said, you can click on a field again to set that value in specific.
from mgba.
Right, that's what I ended up doing. The issue is with auto-progression skipping mapping button entries and only mapping axes before moving onto other buttons like A and B.
This could be fixed by having auto-progression do a second pass or wait for a double entry before moving on, but that would mandate two bindings, unless pressing the same key twice made it think "oh, they're only using buttons or only using axes. move on"
from mgba.
Also, with the current implementation, only people who know the marking conventions of mGBA can intuitively use it. One way to fix this is to have a message appear saying "D Pad" while mapping a button entry and "Joystick" for an axis. But that'll also create anger and frustration with controllers that use hats for D Pads.
from mgba.
However, the double entry wouldn't make sense if those contextual messages appear. A better solution might be to have two D Pads in the UI. One labeled "D Pad" and one labeled "Joystick". They'd each initiate auto-progression for their four directions, but not move onto the other D Pad. That way users can clearly see what they're binding and skip what they don't have. And eventually, the "D Pad" option can integrate hats as an alternative to buttons.
from mgba.
This is basically done now, minus the hats. That's covered by https://endrift.com/mgba/bugs/show_bug.cgi?id=144 though.
from mgba.
Related Issues (20)
- SGB border visual glitch HOT 5
- mGBA 0.11-8409 Hotkey Menu broken on Pop_OS! (Ubuntu 22.04) HOT 2
- mGBA missing options HOT 1
- Some games run at double speed HOT 1
- mgba on wii will not launch HOT 1
- [Feature Request] Disable Default Separate Game File Saves for Multiplayer Windows
- mgba update error HOT 1
- mbga crashes in the middle of a game HOT 4
- Mgba/Game is not recognizing any L button inputs HOT 1
- Mega Man Battle Network 4 romhack brief animation freeze only in mGBA
- WRAM2-7 seems to be incorrectly mapped for libretro.c, and addition of paged SRAM1-15 HOT 7
- Golden Sun Worldmap background is shaking HOT 1
- ROM Library doesn't show ROM name HOT 3
- GB Classic: F1 Race - flickering line midscreen
- [Feature Request] Allow Shortcuts mapped to a controller to affect multiple instances of MGBA
- Power Quest multiplayer is nearly unplayable
- mgba crashing
- SOOTROPOLIS gym when the right pokemon dies the game crashes
- mGBA Windows XP builds HOT 1
- Battle Chip Gate Compatibility (via third-party tools) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mgba.