[Q] Using USB Gamepad plugged in PC to control phone - Android Q&A, Help & Troubleshooting

Hello to all, sorry for the long title but i wanted to make it clear.
Here's the situation, I sometimes play emulated games on my Galaxy S3 and as you may realize, the virtual on-screen gamepad isn't very comfortable when on my home (it gets the job done if i'm using it as a portable console) so I decided that i wanted to use an USB Gamepad i own to play my games in a more comfortable way. I know i can just go and get an OTG cable, and i will try to get one these days, but I fear they might not sell them here and I'm not a fan of buying stuff online.
My initial solution was to use My Mobiler for Android , as it allows to use the pc keyboard and mouse on the phone after connecting via wifi or usb, together with Xpadder, a software to map my gamepad to keyboard keys. While this gets me to the point of being able to navigate my phone using the gamepad, when i try to set up the Input in the emulators they will make a distinction between the arrows and Return keys (which seem to be taken as the Hardware DPAD buttons, that's why i can navigate the phone and use those functions in-game) and the other keys in my physical keyboard, which won't work if mapped to game buttons (A,B,L,R, etc) but will work if mapped to emulator options such as Savestates or Fastforward.
This is really disappointing as I actually thought i could save on the OTG cable by using this, but being things as they are, I'd like to ask if anyone can give me a hint on how to make this work the way I want it, or if by any chance someone (devs specially) would be up to the task of developping a server/client app that would work as Gamepad-to-Phone version of Xpadder (mapping the gamepad buttons as Phone-Hardware keys (Camera, Power, Back, Menu, Volume Up, Volume Down, DPAD) with MyMobiler's capabilty to connect with the phone via wifi and send remote input to it by installing an "Input Method" as well. I know this might require root but my phone is rooted already so that'd be fine for me, and I'm sure I'm not the only one that would use such an app to play games more easily without buying extra cables, which is why i'd ask anyone that decides to take on such a project to make it free because it isn't a very profitable project as people would rather buy an OTG cable or use other bluetooth/wireless controllers to play instead.
So any help/suggestion/advice will be greatly appreciated

Sorry for the double post, but I thought this would be better for those who already saw the topic, in case they're interested on doing the same I did.
In the end I managed to make it work with My Boy (Gba emulator) by using MyMobiler's hardware mapping for volume +/-, back, search and menu buttons and the DPAD (F10,F9, ESC, F2, F3, arrows and Enter) and now i can more or less play emulated games, as long as they don't require any buttons aside from select, start and 4 other buttons. As I said, emulator's own actions such as save, load, fast forward or opening emulator settings can be mapped to any other non-hardware key.
Still it would be great if there was an Input Method that would make the emulators recognize other hardware keys (as if there was a complete hardware keyboard for example), I've tried GBC.Emu with my workaround and it's useless.. It recognizes the volume +/-, menu and search buttons as Virtual; and only the Back and DPAD as mobiler_keyboard. making it unplayable this way (you'd need at least 4 buttons aside from the Dpad).

Exactly what I was looking for....
This is somewhat similar to what I am looking for.I am searching for a tool that would send information to my android over local Wifi (same router) via usb. For example, I want to connect my xbox360 controller to my pc and use it as a game controller for my android over wifi. I tried OTG, but unfortunately my hardware dont support it...and I wondered if at all this idea would work. Any help here?

Related

[Q] USB keyboard 'ctrl' key issue

One of the reasons I got my g table is to use it as a substitue for my labtop.
Even though my laptop is small enough, sometimes it is hard to cary it arround, as I keep it by my side 24/7. As I do most of my work on the super computer using ssh, I though the 'g tablet' can replace my laptop. USB keyboard seemed to work just fine until I tried control key on the keyboard. Control key simple does not work at call on g Tablet(Probably on all android system), and ctrl key is so critial to me as I use emacs! Emacs user would know what no control key means to emacs. Thus, I wonder if anyone knows how to utiliza the control key on the USB keyboard. Softkeybord can not be a solution considering I would use control key more than 1000 times per connection. Thank you.
Is Bluetooth keyboard working better?
I have seen lots of posts about using bluetooth keyboard.
I wonder if ctrl key and alt key are working with bluetooth keyboard.
Anyone?

[Q] gta3 with a gamepad? via computer,not bluetooth

I am trying to get my xbox 360 wired controller to work with gta3 and its somewhat working. Im using Xpadder, a gamepad profiler that can make the controller emulate and mouse/keyboard movement and then using "wifi keyboard" app to get it to move across to my phone. However i cant get mouse movements to register and can only really get basic walking and driving controls working, such as steering and walking. I cant figure out how to make the controller use any weapons, sprint, but entering and exciting vehicles works fine. Is there a better app to do what im trying to do? I searched and couldn't find any and am curious if anyone else has tried to do the same thing i am. I really need like a list of what the translation for the pc version would be, like what keyboard button was used for the ebrake, drivebys, etc because thats the only way i am able to get this controller to work. I have been working off of a list of pc controls but am still unable to figure out how to make the controller fire or use weapon or switch between weapons, i know it was default to mouse left click or left control but neither work for me. And ive literally gone over my entire keyboard pressing random buttons to see if i can make it fire or switch weapons.

Sixaxis controller doesn't quite work!

Hello!
I recently bought a playstation 3 controller to use with my PC and emulators on my Tablet. I discovered that without root i wasn't able to fully utilize the controller on my tablet.
I got to work and rooted my tablet, bought sixaxis controller and set it up. I am now able to connect with the app and bind keys in the emulator with the app. However when i exit the key-binding menu and begin to play a game the emulator suddenly doesn't recognize any of my button presses made with the app.
I made a touch profile so that i could play but i really want to be able to play without this touch profile.
I've googled with no results for days and i now ask you, what do you think is wrong? And how can i fix it?
Which emulators are you using this with? With some of them you have to set up the bindings in the emulator app.
If you bought a cheap ps3 controller on ebay it will not work. If you buy a legit PS3 controller it will work. Common problem, aftermarket controllers have a slightly different bluetooth profile that its kind of goofy...
If you have a legit controller then it must be other settings!
Lets start from the beginning.
FIRST TIME! If its your first time pairing the controller to the tablet you need to get a USB cable and plug it into the dock.
Start up the app
press the "pair controller" button. This tells the controller which address to connect to. If you dont do this then the controller is looking for a PS3 which your tablet obviously is not.
If it is NOT your first time, or you have used the PC utility to manually change the bluetooth address on the controller
Start up the app
Press Start
Turn on the controller
Remember, you must change the IME (input) from whatever keyboard you have to sixaxis.
Once you see the message in the window say you are paired press the up down left right buttons on the ps3 controller, you SHOULD see things happen on the screen. If not you did something wrong.
If you want to use touch profiles select it from the box
If the above does not work check with the PC utility that your controller is trying to pair to the correct bluetooth address. Note sometimes the sequence is reversed - 12:23:34:45:56:67 can sometimes be 67:56:45:34:32:12. Different applications on the PC work differently.
Make sure you are using the latest LEGIT copy. If you are pirating this software it likely wont work. Check on the market you are updated to the latest version.
If all else fails, contact the developer or check the developers website. I know it works with the prime im running it on mine, works great!
Good luck!
EDIT
Re-reading OP i'd say it sounds like you forgot to change the IME. Maybe check that first
pileot said:
If you bought a cheap ps3 controller on ebay it will not work. If you buy a legit PS3 controller it will work. Common problem, aftermarket controllers have a slightly different bluetooth profile that its kind of goofy...
If you have a legit controller then it must be other settings!
Lets start from the beginning.
FIRST TIME! If its your first time pairing the controller to the tablet you need to get a USB cable and plug it into the dock.
Start up the app
press the "pair controller" button. This tells the controller which address to connect to. If you dont do this then the controller is looking for a PS3 which your tablet obviously is not.
If it is NOT your first time, or you have used the PC utility to manually change the bluetooth address on the controller
Start up the app
Press Start
Turn on the controller
Remember, you must change the IME (input) from whatever keyboard you have to sixaxis.
Once you see the message in the window say you are paired press the up down left right buttons on the ps3 controller, you SHOULD see things happen on the screen. If not you did something wrong.
If you want to use touch profiles select it from the box
If the above does not work check with the PC utility that your controller is trying to pair to the correct bluetooth address. Note sometimes the sequence is reversed - 12:23:34:45:56:67 can sometimes be 67:56:45:34:32:12. Different applications on the PC work differently.
Make sure you are using the latest LEGIT copy. If you are pirating this software it likely wont work. Check on the market you are updated to the latest version.
If all else fails, contact the developer or check the developers website. I know it works with the prime im running it on mine, works great!
Good luck!
EDIT
Re-reading OP i'd say it sounds like you forgot to change the IME. Maybe check that first
Click to expand...
Click to collapse
It's a real controller and i did change the IME.
I am primarily using the N64 emulator. When i map the keys without sexaxis controller installed most of the keys are named <unknow>. When i start sixaxis controller i get "DPAD_START" or something similar when i map the keys. (after enabeling the IME).
So the connecting and mapping goes perfect. But somehow when i exit the settings and start to play it wont detect the keys anymore.
It's quite late now, i will test everything again tomorrow to make sure the problem is still there. But i truly don't know what to do.
I don't know about the emulator you're using, but in NESoid, and SNESoid etc to use sixaxis with it, theres an option in menu>settings>Other settings>"Use Input Method" Enable special input device eg bluetooth gamepad - This needs checked for the controller to work see if this is enabled on yours
NeoMagus said:
I don't know about the emulator you're using, but in NESoid, and SNESoid etc to use sixaxis with it, theres an option in menu>settings>Other settings>"Use Input Method" Enable special input device eg bluetooth gamepad - This needs checked for the controller to work see if this is enabled on yours
Click to expand...
Click to collapse
THANK YOU!
In "other settings" i just had to click that. ****ing awesome m8 Thanks
No prob man I figured thats what it might be frustrated the hell out of me too
Sent from my SCH-I535 using XDA
Ya its kind of annoying because with sixaxis you can have it set for controller input, emulate keyboard, or sort of a hybrid (like the experia play does with its keys), different apps deal with these things differently, its just a matter of finding a method that works best for the app your using.
Glad to hear you got it working!
Thank you
I only rooted to use the controller, I was getting frustrated
Sent from my GT-I9300 using xda premium

[Q] key layout and lirc

I've got an Ouya running CM11.
For input I'm using both a lenova n5901 and a Logitec K700.
I've given then both device specific .kl's for the lenova turning the orange key to menu and home to home, on both turning win key to search.
My question would be utilizing all the extra keys on the k700. I'd like to use em to control other devices over irda.
There are apps like irdroid and External Keyboard Helper Pro that would seem to able to handle it. Problem being that the Ir blasters for android use a stereo jack, which the ouya lacks.
So, would it work with a usb sound card, or will it work with a usb/usb-serial-irda adapter?
I can recompile the kernel if additional drivers are needed.
Alternately is there any useful droid keys beyond home, menu and search in kitkat?
Bump
No-one using a PC keyboard? These droid set top boxes are getting common, control scheme is underutilized

Mouse wheel on any button

Hello,
I have searched the web but without any solution that I am able to understand.
I have bought an android box from china which comes with a ir-remote.
As I am plannig to use this box as a desktop replacement as soon as i am able to get my new NAS up to speed I want to be able to use this box comfortably, even from my couch.
I use some sites to read comics and most of them work with arrow keys on chrome. Some have limited support for this so I need to be able to use the mouse (or at least a leftklick) and the mousewheel to navigate this sites if they dont support arrow keys.
The box has an ir receiver and bluetooth so I have multiple controll options avaliable.
Now to the remapping of keys:
I have found this:
source(dot)android(dot)com -> Keyboard Device
with this table and the vendorxxx.kl file I should be able to remap buttons.
now the caviat: arrow does not work propperly on every site and page_up/down jumps too far.
is there a way to confiure page_up/down in a way that it doesn't jump as far so i could use multiple clicks to jump as far as i need or is there a way to emulate a mouse wheel scroll with a analoge stick from a bluetooth controller?
I have as I said a ir remote and a generic usb controller and this:
Baofeng Monji 4 Bluetooth Controller (wireless Nunchuck style)
I would prefere the mouse wheel as it hase more use but a substitute would be fine.
I hope someone can help me

Categories

Resources