Trying to make two bluetooth controllers act as Player 1
-
So I am working on a Nintendo Switch project where I'm taking a raspberry pi 3 and a 6 in lcd screen to make a retropie gaming machine into a Nintendo Switch casing I'm 3d modeling, but I need to know before I start all this if it's possible to map specific controls to two different bluetooth boards (In simple terms, pairing two bluetooth controllers with specific buttons and making them both appear as Player 1) Since I want the joycons to be wireless and don't want wires between them. Is it possible? (They would most likely be shown up as the Same Device Name so if that helps at all)
-
@Tudwad I can talk about RetroArch: AFAIK there's no way to get more than 1 joypad controlling the same player (maybe you can do it using a joypad and a keyboard, but I'm not sure).
One joypad can control various players, but a player can only be controlled by one joypad.
-
Linux Joystick Mapper can combine multiple joysticks into a single controller. However, it might be easier just to have the two Bluetooth boards both identify as keyboards. That way the system will simply read both as being keyboard input and you can then map accordingly as either a single controller or two separately depending on your needs.
If you're looking to do exactly what the switch does and have the two boards identify as one controller in certain circumstances and two controllers in others, you could use two LJM mappings and have a script triggered to switch between the two control schemes when needed. I gotta say, this is a keen idea. I hope you keep us posted. I'd love to see some pics as well.
Edit: You could even still make use of the keyboard approach and instead script the actual emulator preference files to switch on-the-fly also.
-
@mediamogul Wow, not a bad idea at all, I'll try the Linux Joystick Mapper first and see what happens but if that doesn't work I'm pretty sure your idea of keyboard identifiers will work though I'm not great at scripting as I'm a beginner with all this, I would gladly take the challenge to try the "on-the-fly" method too but I don't see too much of a point right now as I'm mainly just building this as a proof of concept sort of deal. I'm literally just in the 3d modeling phase/planning phase atm lol so It will be atleast a month until I have any form of component or anything done lol but I'll totally keep posted on my Youtube Channel when I actually start! (Thanks for the advice man)
-
I look forward to hearing more. Good luck.
-
hey , I want to do the same thing, but how do you install linux joystick mapper?(when I download it, I have just a .zip file and I don't now what to do with.)
thanks -
sorry, I have .tar.gz file, any ideas of how installing it?
-
up?
-
Linux Joystick Mapper seems to be a very capable key-mapping solution, but outside of a few theoretical proposals (mostly by myself), I don't believe anyone here is really using it. You may have to expand your search elsewhere to include more fundamental information about what it will take to compile and install it in other locations.
-
sure, I have already posted another topic wich talk about it
-
I was actually suggesting that you branch out to other locations on the web, but perhaps having it's own post here may help. However, please keep in mind that if you do not get a reply there that "bumping" or "upping" your posts is not looked kindly upon.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.