[Q] Keymapping for switchroot android - Nintendo Switch Questions & Answers

hi i was wondering what i should i do to map my buttons on my joycon, im trying to play games like roblox but they detect some inputs as keyboard inputs and some as controller, joystick and triggers are controller and buttons are keyboard
edit: make sure its free and like no in app purchases cause i try to use octopus but i can login cause i gotta pay

anyone??

Got it to work with
https://play.google.com/store/apps/details?id=com.catalyst06.gamecontrollerverifier&hl=en_US
and
Magisk Root (+Magisk Manager for root managment)
=> perfectly registers joycon(s) as one single controller
Controller will now be seens as "Gamepad" in games, f.e. GTA:SA
If you are too bored and/or don't want to shell out the 5 bucks for the pro verion of the program:
A PS4 Controller can be paired DIRECTLY to the lineageos in switchroot android (hold ps and "share" button till it blinks)
https://www.reddit.com/r/switchroot/comments/iap6h3/joycons_as_controller_with_gtasa/

Related

Custom ROM suggestion

So want do you thing a custom ROM for the Ouya need?
Force orientation landscape
Screen display size option
Overlay menu when you hold the Ouya bottom on the controller with home, recent, back, menu and other for easy access
Touch screen mapping like GameKeyboard, Tincore, usb/bt joystick center, Sixaxis, ...
Fullscreen
Play Store
Gapps
Chrome
File Manager
Wireless ADB
Youtube from Google TV
Netfix from Google TV
nfs
usb drive mounting
def. better multitasking
back home and recent menu
actual working notifications
multiple user login maybe even just like an administrator login with full access and a regular user account for just playing game so your friends/siblings dont ruin all your hard work in a matter of minutes
way to list the games from the ouya store by release date so i can see whats new and not have to look through every list like an idiot
ability to unpair controllers not just turn them while the ouya still has em connected so you have to reboot cuz your keyboard is in player one slot
task killer and services manager
reboot shutdown sleep
midi keyboard support
Support for external mouse..... left click on the mouse ran the program, right click the mouse close the program, the middle mouse click caused the program settings.
Cifs support.
Ntfs write support.
I would like to see a rom that doesn't need a account to get to use your console (since sony was hacked i don't like to give my credit card infos away)
Another OS would be nice like a Desktop optimized Android (a cm 10.1 mod is already working and out there http://forum.xda-developers.com/showthread.php?t=2348548) or a Linux distro like Debian or Ubuntu

Playing on an Android Phone(controller support)

Wondering if I can play The Amazing Frog? on my android phone. I acutally have the game installed my main concern is the controller support.
Would it be possibly to connect my ps3 controller to my phone and assume that it will config the buttons automatically.
Is this possible or is there a different way?
Thanks
Huh? Are you playing on the ouya? Do you have the game installed on your phone or ouya? You could try using your controller and reporting back. If it is something about your phone, then you should post there.
exilekiller said:
Wondering if I can play The Amazing Frog? on my android phone. I acutally have the game installed my main concern is the controller support.
Would it be possibly to connect my ps3 controller to my phone and assume that it will config the buttons automatically.
Is this possible or is there a different way?
Thanks
Click to expand...
Click to collapse
Google my friend..... sixaxis
If you are using a phone to play it then dpad or analog stick will proberly work but not the buttons,you will need USB/BT Joystick GOLD to configure them but if the app is only for Ouya then chances are that you wont know what button to press cos there is no touch controls so you need to find out what button on the ouya controller presses what key.have a look at my post and you will see what i mean.

[GUIDE] N64 Games with Wiimote - no root

Play with a Wiimote/Wii remote N64 games on Amazon Fire TV - no root
This box has more skills than I thought...
What you need:
- mouse (wukong app works good enough although it is in chinese- select in the square box with the 4 dots inside the third column and you have the mouse mode -https://lh3.ggpht.com/pXQ-tYDMTHS3OmbLFNTXKpOGwWuI02X87osJRf0NM34MJss3mul23LYBFDm227MBgII=h900)
- n64 oid http://www.emuparadise.me/Nintendo_64_Emulators/Android/N64oid%28Update%29/383 (i use vers. 2.7)
- bluez ime app (play store- sideload it) https://play.google.com/store/apps/details?id=com.hexad.bluezime&hl=de-
- Roms
What to do:
1. Install n64oid on aftv, install bluez ime on aftv
2. load a rom in n64oid
3. screen is at first start always black - push the settings/options button on aftv remote and select restart
4. Rom should load now - press settings again
5. select settings-> input method - disable virtual keyboard
6.Here comes the tricky part. Make sure bluez ime is installed. n64oid would ask you anyway now to install it.
Select Bluetooth gamepads-> controller 1 -> select device -scan!
7. Now you need the mouse. Be quick! Scan for devices . Press 1/2 on wiimote so it starts blinking.
8. Select the Wiimote with the mouse!!! you can't select it with the aftv remote.
9. Wiimote is still blinking: select device driver- Wiimote beta
10. Wiimote is still blinking: select connect
11. If everthing worked out: The wiimote stopped blinking and shows one blue dot. under connect it says "connected".
12. Congrats! You can now go to keymappings and you can remap the wiimote to a n64 controller. use a nunchuk if you want an analog stick.
13. Remap how you like - here is a Map of an original n64 controller http://www.gratuitousscience.com/wp-content/uploads/2013/06/controller_n64_diagram.jpg
14. Save your profile (I have a profile for a layout with nunchuk and without, since I dont need the nunchuk in Mario kart 64. )
15 If you want to add another wiimote repeat the same with controller 2. The second wiimote will also show only one blue dot - just as the first remote as controller 1 , dont worry about it)
Thats basicly it.
If you start the n64oid emulator next time, you have to connect the controller again by selecting connect and pressing 1/2. The device is saved. so the controller selected as number 1 has to be always the same! (there is a mac address)
Better gameplay:
Select settings-> audio video settings -> max frame skips - scroll to 1. I experienced better game play with no hick ups
Problems:
If the wiimote constantly blinks, although its connected, your aftv might be to far away. I had this at the beginnig and wondered why the connection broke up. This happens to me with controller number 2. Sometimes it still blinks and the gameplay works perfect, sometimes it breakes up. Maybe someone knows why. Sometimes this helped: kill the apps n64oid/bluez ime and restart again, or restarting the whole box.
magdap said:
Play with a Wiimote/Wii remote N64 games on Amazon Fire TV - no root
This box has more skills than I thought...
What you need:
- mouse (wukong app works good enough although it is in chinese- select in the square box with the 4 dots inside the third column and you have the mouse mode -https://lh3.ggpht.com/pXQ-tYDMTHS3OmbLFNTXKpOGwWuI02X87osJRf0NM34MJss3mul23LYBFDm227MBgII=h900)
- n64 oid http://www.emuparadise.me/Nintendo_64_Emulators/Android/N64oid%28Update%29/383 (i use vers. 2.7)
- bluez ime app (play store- sideload it) https://play.google.com/store/apps/details?id=com.hexad.bluezime&hl=de-
- Roms
What to do:
1. Install n64oid on aftv, install bluez ime on aftv
2. load a rom in n64oid
3. screen is at first start always black - push the settings/options button on aftv remote and select restart
4. Rom should load now - press settings again
5. select settings-> input method - disable virtual keyboard
6.Here comes the tricky part. Make sure bluez ime is installed. n64oid would ask you anyway now to install it.
Select Bluetooth gamepads-> controller 1 -> select device -scan!
7. Now you need the mouse. Be quick! Scan for devices . Press 1/2 on wiimote so it starts blinking.
8. Select the Wiimote with the mouse!!! you can't select it with the aftv remote.
9. Wiimote is still blinking: select device driver- Wiimote beta
10. Wiimote is still blinking: select connect
11. If everthing worked out: The wiimote stopped blinking and shows one blue dot. under connect it says "connected".
12. Congrats! You can now go to keymappings and you can remap the wiimote to a n64 controller. use a nunchuk if you want an analog stick.
13. Remap how you like - here is a Map of an original n64 controller http://www.gratuitousscience.com/wp-content/uploads/2013/06/controller_n64_diagram.jpg
14. Save your profile (I have a profile for a layout with nunchuk and without, since I dont need the nunchuk in Mario kart 64. )
15 If you want to add another wiimote repeat the same with controller 2. The second wiimote will also show only one blue dot - just as the first remote as controller 1 , dont worry about it)
Thats basicly it.
If you start the n64oid emulator next time, you have to connect the controller again by selecting connect and pressing 1/2. The device is saved. so the controller selected as number 1 has to be always the same! (there is a mac address)
Better gameplay:
Select settings-> audio video settings -> max frame skips - scroll to 1. I experienced better game play with no hick ups
Problems:
If the wiimote constantly blinks, although its connected, your aftv might be to far away. I had this at the beginnig and wondered why the connection broke up. This happens to me with controller number 2. Sometimes it still blinks and the gameplay works perfect, sometimes it breakes up. Maybe someone knows why. Sometimes this helped: kill the apps n64oid/bluez ime and restart again, or restarting the whole box.
Click to expand...
Click to collapse
Any idea if this should work on the Fire TV Stick? I try to connect and I get Error: BT socket connect failed. What version of BluezIME are you using?
I use the play store version 1.20. I never had this problem. on which step does this problem appear?
I also installed this now: https://code.google.com/p/android-bluez-ime/downloads/detail?name=BluezIME-HIDEnabler.apk&can=2&q=
maybe this helps.
So, I'm able to complete all steps through selecting Wiimote (HID) from the driver list. Then when I try to select Connect I get the Error. Do you know if Wiimote (Beta) is different than Wiimote (HID)? I don't have the Beta option. Are you using an original Wii controller or a Wii Controller Plus controller?
56789 said:
So, I'm able to complete all steps through selecting Wiimote (HID) from the driver list. Then when I try to select Connect I get the Error. Do you know if Wiimote (Beta) is different than Wiimote (HID)? I don't have the Beta option. Are you using an original Wii controller or a Wii Controller Plus controller?
Click to expand...
Click to collapse
Wiimote HID and wiimote beta, both worked for me. if it shows now wiimote HID that means you installed the apk from my last post.
I am using an original wiimote. I do have a motion plus but it also works with all my other wiimotes which don't have a plus modul on it.
I just found a thread where people are having this issue. https://code.google.com/p/android-bluez-ime/issues/detail?id=7
it seems like this happens on some android phones while on others this doesn't happen.
So my guess is, that this won't work on fire tv stick. Maybe someone can approve this.
Edit: maybe a restart helps? Press select and play for 10 seconds
Are you using the the Fire TV or the Stick? I'm looking through the spec page on Amazon right now and it looks like the Stick uses Bluetooth 3.0 protocol whereas the Fire TV uses Bluetooth 4.0. I'm guessing that might have something to do with it.
https://developer.amazon.com/public...re-tv/docs/device-and-platform-specifications
56789 said:
Are you using the the Fire TV or the Stick? I'm looking through the spec page on Amazon right now and it looks like the Stick uses Bluetooth 3.0 protocol whereas the Fire TV uses Bluetooth 4.0. I'm guessing that might have something to do with it.
https://developer.amazon.com/public...re-tv/docs/device-and-platform-specifications
Click to expand...
Click to collapse
good research! i am using the box not the stick.
does this work with other emulators?
...only if that emulator lets you control the bluetooth settings. I dont know any other n64 emulator.
This doesn't even work with the Shield.
Is it just me or did the 5.0.5 update broke the wiimote connection? Thanks!
walkabouts said:
Is it just me or did the 5.0.5 update broke the wiimote connection? Thanks!
Click to expand...
Click to collapse
Quite likely. Wiimotes don't work on android 5 and above so I'm guessing the same is so on the fire.
When I click on " connect" the fire tv remote stops working and the fire tv freezes. Just a restart helps.... Too bad. Anyone got a solution?

[GUIDE] Using First Party Dualshock 3 (PS3) Controller on Fire TV via USB

This is a tutorial on how to get an official Sony brand Dualshock 3+Sixaxis Controller (AKA PS3 controller) working on your Fire TV over USB.
This has been tested on confirmed working on the Fire TV 2 (Sloane) but will presumably work on all generations and versions of Fire TV as long as it is rooted.
WHAT YOU WILL NEED:
-Root Access (required for joy to touch feature, with apparently must be activated to use the feature that emulates other controllers)
-A Terminal Emulator app or ADB
-SELinux set to "Permissive" (I use the app SELinux Mode Changer)
-The following apps installed:
*USB/BT Joystick Center
*Sixaxis Enabler
-Mouse (any USB or Bluetooth mouse should be fine. I use a logitech K400+ Keyboard With Touchpad)
OR
-Mouse Toggle app
-Powered USB Hub (Only if your mouse is USB)
OPTIONAL: My supplied keymaping file
This is a pretty straightforward process, in all reality. Here are the steps.
1. Install USB/BT Joystick Center. I have included the APK for an older free version of the app, but I would suggest obtaining the latest "Gold" version, which is for sale on Google Play.
2. Open your ADB connection or Terminal Emulator of choice, enter a root shell with "su" and enter the following commands:
Code:
ime enable com.poke64738.usbjoygold/.USBJoyIME
ime set com.poke64738.usbjoygold/.USBJoyIME
OR
Code:
ime enable com.free.usbjoyfree/.USBJoyFreeIME
ime set com.free.usbjoyfree/.USBJoyFreeIME
Depending on if you are using the paid 2019 Gold version, or the free 2018 version, respectively.
Then you may close your ADB or terminal. Honestly I'm not entirely sure this is even needed, since we are going to be using gamepad emulation, but I would say to do it just in case.
3. Install Sixaxis Enabler, open it, and follow the instructions on screen. Allow the app to access the USB Device when prompted
NOTE: Sixaxis Enabler may tell you that your firmware does not support Sixaxis and that the service is stopped. In that case Keep disconnecting the controller and reconnecting it and pressing the PS Button. "Eventually it will say Sixaxis ENABLED Please Try buttons and sticks"
This is NOT a free app and is available for purchase on Google Play.
When you get "Sixaxis ENABLED" the four LEDs will stop blinking and just LED 1 will blink. If you keep getting the not supported message, and your LED 1 blinks, continue because you might still be able to get it to work.
4. Exit Sixaxis Enabler and open USB/BT Joystick Center. For this you will need some sort of mouse functionality.
Check in the upper left of the screen and make sure that the IME switch is orange and says "ON" (this should be the case, as we have already enabled and set the IME in ADB/Terminal)
With your mouse, click the IME switch and it should bring up a little menu. Click on USBJoyIME and the menu will close. This was just to be absolutely sure that the IME was FOR SURE selected.
5.Below the IME switch, there is a oval shaped cluster of buttons that will say "Search, Auto, Norm, HID"
Click "Norm" and then click allow on the prompts to access the USB Device. (if you have multiple devices connected over USB, it will ask for each device. You do NOT need to allow them all if you do not wish, a black notification at the top of the screen will tell you what device it found so you know what the app is requesting access to. I just click allow on all because it doesn't hurt anything)
After it gets trough all the USB devices, it will start a check for bluetooth devices, and will show a prompt with your paired devices on it, you can just click back on your Fire Remote or keyboard.
After a few seconds, a gray square will appear on the screen that says "PS3 USB Controller and LED 1 on your PS3 controller should now be solid. With your mouse, click on the square. A little black text box will say something about loading a keymap file. If you click some buttons on your controller, you should see the little boxes underneath the big gray box blinking orange and white when you press them. CONGRATS! You now have your PS3 controller working on your Fire TV.
Don't be content yet, WE ARENT DONE.
While this is a somewhat functional way to control your Fire TV, I don't find the default settings to be optimal. It seems like I can't rapidly press buttons. I can enter in two or three button presses before it stops accepting input for a moment. Also, despite all the controller buttons working on the test in USB/BT Joystick center, the default keymap is NOT properly configured for the Fire TV, and I was only able to get the D-pad to work outside of Joystick Center.
Instead of fussing around trying to get everything working with the default IME setting, I decided to use the app's built in controller emulation feature to simulate an Xbox 360 controller. (There is also a setting to emulate a PS3 controller, but I figured it would be better to make the system think I'm using a 360 controller, which is officially supported, then a controller that I had to install off of this stuff just to use) So onto Step...
6. With your mouse, go to the upper right and click the switch "J>T"
If you do not Already have SELinux set to Permissive, it will give you a message saying that this must be done. Do so however you want, but as mentioned above, I use the app "SELinux Mode Changer" to achieve this. The app can be found on F-Droid
With SELinux set to Permissive, give USB/BT Joystick Center Superuser rights when prompted, and the switch will turn ON.
Once "J>T" is on, to the left of that you will see the Green "JOY>" switch and a small box next to it that says "IME NAT 360 PS3"
Just click the box until "360" is selected
From here you can use the little boxes underneath the "PS3 USB Controller" box, or just load my keymap file, in order to configure the buttons and sticks properly. If you use my keymap file, down load "PS3to360_JoyPrefsFile_1356_616_0.xml" from the attachments and paste it into the folder for USBJoy in the root of your Fire's internal memory (for me it is called "USBJoyGoldData") then use the little load button and it should appear as "PS3 to 360"
With that out of the way, you are finally DONE! Your Dualshock 3 controller is connected and configured to act as an Xbox 360 controller on your Fire TV and you may now proceed to use it on your games, Emulators, or whatever you want to do with it!
When you are done, just make sure to disable "J>T" with Joystick center before you disconnect the Dualshock, otherwise things will bug out, and if you arent using an alternate launcher with mouse support, you wont be able to re-enter the app to disable it, and will have to reboot the Fire TV.
I would also suggest disabling USBJoyIME when you are not using your controller, as I have noticed that typing with my K400+ keyboard acts strange on some apps, such as Puffin Browser, when it is still enabled.
Code:
ime disable com.poke64738.usbjoygold/.USBJoyIME
OR
Code:
ime disable com.free.usbjoyfree/.USBJoyFreeIME
Feel free to play around with the different gamepad emulation modes, and if you find a better configuration, please do share it on here!

Are there any tools to map buttons to the touchscreen?

For those games that don't support the controller directly, is there a way to map the Joycon buttons to the touchscreen? I read that the Nvidia Shield included a system-wide functionality to map buttons to touches, but I haven't found a way to install it on the Switch over LineageOS. There are also tools like Octopus or Panda, but I'm scared of potential bans on games like Genshin Impact, plus some of them require an external ADB connection from a secondary device. Is there some flashable zip or a Magisk/Xposed overlay I can install instead?
I had SOME success with Mantis Gamepad Pro. I got it working by connecting it to my PC. Started CoD:Mobile, and went into Training. Accessed the Mantis menu overlay, then I pressed "add button", and it tells you to press the button on the controller you want on the screen. So I did this with everything. Looks great.
But when I close the settings, and try and actually USE the controller, the controller the program JUST took instructions from when mapping the touchscreen buttons, it won't do anything. It's like the controller isn't even connected. Even tho it registers when the program asks you to press stuff on your Joy Cons during setup.
Could it be something about Mantis Gamepad Pro not having the right access options or something? Could you please try it out as well, and update this thread if you figure anything out.. Or if you found another solution. I just wanna play Call of Duty Mobile on my Switch.

Categories

Resources