Related
Here's my first custom ROM for the A7.
It has support for Microsoft's XBox 360 controllers and some bundled emulators. Wired controllers just plug in to the USB port. Wireless controllers need the USB Receiver for PCs. This makes a great combo for a portable gaming station with the HDMI output.
XBox 360 Controller:
The controller can be used for some basic navigation around Android OS. The buttons need to be configured in each emulator.
They are mapped to key presses as follows:
A = A
B = B
X = X
Y = Y
Left Bumper = L
Right Bumper = R
Left Trigger = T
Right Trigger = Z
Left Stick Click = 0
Right Stick Click = 1
DPad = Left/Right/Up/Down (in landscape mode. it will be sideways in portait mode)
Start = ENTER
Back = ESCAPE
Xbox Guide = HOME
Apps:
The emulators included are free/lite ones from the market place. If you like them or to save state, purchase the full versions. The script that installs these is supposed to only do it once, so they should be easy to uninstall if you don't want them.
ConnectBot and Dolphin Mini Browser are also installed on the first boot of this ROM.
ADB:
The ROM automatically sets up ADB to listen over tcp on port 2323. This will make your device a little less secure but makes development and debug much faster for me. To disable this open a command prompt and type:
su
setprop services.adb.tcp.port -1
stop adbd
start adbd
You will have to do that every reboot to disable adb over tcp.
Base:
This is built off Dexter's 1.1 Mod, so all his changes should be in here too. GMail and Market seem to work fine.
To Install:
Copy update.zip to an sdcard and put it in the tablet. Power down the tablet. Enter recovery mode. Wipe the Cache. Wipe user data. Install update.zip from the sdcard.
Known Oddities:
The LED ring on the wireless remotes will flash the entire time, but it functions fine.
The LED ring on a wired controller will advance by 1 section each time the device sleeps/wakes up.
The controller sends all its keys on first connection.
Only 1 controller input is supported for now. The wireless receiver supports upto 4 so hopefully I can get some multiplayer going soon!
Link:
I've uploaded the update.zip file to Mediafire.com since I don't have the webspace anywhere to host a file this size (90mb). The file reference is "2hm8i9jt32btmkw"
This forum will not allow me to post a link direct link since I'm a new user, so if another user could post it ( "mediafire.com" then "/?" then "2hm8i9jt32btmkw" ), I would greatly appreciate it.
Try it out and give me some feedback
tjc2k4 said:
Here's my first custom ROM for the A7.
It has support for Microsoft's XBox 360 controllers and some bundled emulators. Wired controllers just plug in to the USB port. Wireless controllers need the USB Receiver for PCs. This makes a great combo for a portable gaming station with the HDMI output.
XBox 360 Controller:
The controller can be used for some basic navigation around Android OS. The buttons need to be configured in each emulator.
They are mapped to key presses as follows:
A = A
B = B
X = X
Y = Y
Left Bumper = L
Right Bumper = R
Left Trigger = T
Right Trigger = Z
Left Stick Click = 0
Right Stick Click = 1
DPad = Left/Right/Up/Down (in landscape mode. it will be sideways in portait mode)
Start = ENTER
Back = ESCAPE
Xbox Guide = HOME
Apps:
The emulators included are free/lite ones from the market place. If you like them or to save state, purchase the full versions. The script that installs these is supposed to only do it once, so they should be easy to uninstall if you don't want them.
ConnectBot and Dolphin Mini Browser are also installed on the first boot of this ROM.
ADB:
The ROM automatically sets up ADB to listen over tcp on port 2323. This will make your device a little less secure but makes development and debug much faster for me. To disable this open a command prompt and type:
su
setprop services.adb.tcp.port -1
stop adbd
start adbd
You will have to do that every reboot to disable adb over tcp.
Base:
This is built off Dexter's 1.1 Mod, so all his changes should be in here too. GMail and Market seem to work fine.
To Install:
Copy update.zip to an sdcard and put it in the tablet. Power down the tablet. Enter recovery mode. Wipe the Cache. Wipe user data. Install update.zip from the sdcard.
Known Oddities:
The LED ring on the wireless remotes will flash the entire time, but it functions fine.
The LED ring on a wired controller will advance by 1 section each time the device sleeps/wakes up.
The controller sends all its keys on first connection.
Only 1 controller input is supported for now. The wireless receiver supports upto 4 so hopefully I can get some multiplayer going soon!
Link:
I've uploaded the update.zip file to Mediafire.com since I don't have the webspace anywhere to host a file this size (90mb). The file reference is "2hm8i9jt32btmkw"
This forum will not allow me to post a link direct link since I'm a new user, so if another user could post it ( "mediafire.com" then "/?" then "2hm8i9jt32btmkw" ), I would greatly appreciate it.
Try it out and give me some feedback
Click to expand...
Click to collapse
Will try it out. Here is the link: http://www.mediafire.com/?2hm8i9jt32btmkw
Nice to see somebody else get involved with the A7.
Got any screen shots?
Amazing!!!!!
Video
I recorded a short clip of some Super Mario 3.
Can't post direct links yet so take out the spaces here:
youtube.com / watch?v=TCMPpj3pizQ
I'm trying it too. Might as well since I'm probably going to return of and get a Adam.
Just wondering ... this is not a multi-touch screen ... can you control the D-Pad and press like A Button without lifting the D-Pad ?
masterfred said:
Just wondering ... this is not a multi-touch screen ... can you control the D-Pad and press like A Button without lifting the D-Pad ?
Click to expand...
Click to collapse
Yeah, it lets you hit multiple buttons at once.
In Mario 3 I could hold the run button and use dpad, then jump/fly without trouble.
In Mario 1 I had trouble changing directions in the air while jumping but I think that is part of the game.
In the PSX emulator I could hold Circle & DPad to run around.
The only strange thing I can think of is that the Left Trigger and Right Trigger are converted from Analog to Digital (they measure 0-255 but only report on/off). Because of how I did that, games probably wont recognize holding down those buttons, only a momentary press.
tjc2k4 said:
I recorded a short clip of some Super Mario 3.
Can't post direct links yet so take out the spaces here:
Click to expand...
Click to collapse
MOD Edit: You got it
Generic Controllers
I've been able to map keys on a small USB keyboard to control my emulators. I installed your mod, and I cannot get it to work with a USB Logitech controller.
I don't have a wired 360 controller, but I do have wireless. How would I get that to work? Do I just have to have the USB 360 Reciever for Windows? Thanks in advance.
Thank You - SlingPlayer App question
Thank you for your work on this rom.
I was able to get things working well but i'm having a small issue with my slingplayer app not being able to open. It installs fine but when I click to open it the screen goes black for a second and then returns to the home screen. It was working using Dexter's 1.1 rom before but I occasionally had to open it 2-3 times before it worked.
Any idea what the problem could be?
One other question - Do you notice the screen is pixilated on the external display when you hook up your a7 via hdmi?
X
XBOX 360 PC Controller
Apparently I found the LAST wired 360 controller in town! Everywhere I went this week only had the wireless controllers. That would be fine if I had the USB receiver for it.
Anyway, I've been using the controller with my emulators and it works like a champ! It is very touchy on diagonal directions in games like Contra for NES. In the levels where you run side to side, and face up to the walls firing straight and not diagonal is a pain.
Has anyone had any success with PSX emulators? I got one off the Marketplace and I haven't gotten it to work yet. I've only tried one Bios so far, but I'll keep at it.
I've also noticed in this ROM my internal memory doesn't display correctly anymore. It worked in Dexter's 1.1 Mod.
I ordered my controllers off ebay. 2 for $50. I've got the PSX emulator to play. BUT its very choppy, and the sounds awful. I tryed Diablo and only got to the first mob and my cha glitched out. That being said All the other emulator work 100%!!!
Thanks so much creators of awesome!!
I tried installing your mod - did a wipe and cache wipe before install - plugged in my madcatz xbox360 wired controller, and it wont work, is there something in settings I have to change? The light flashes, but it wont control anything.
Thanks so much for this Mod. It really opens up the gaming on the a7. Will there be a update from Dexters new update?
update
Great work.
Update with new Dexter mod?
To use a wireless remote, you do need a Xbox 360 Wireless Receiver for Windows.
Lukifer said:
I tried installing your mod - did a wipe and cache wipe before install - plugged in my madcatz xbox360 wired controller, and it wont work, is there something in settings I have to change? The light flashes, but it wont control anything.
Click to expand...
Click to collapse
I edited the driver to only support Microsoft brand remotes to simplify working on it. I'll add back in the other stuff now since I have a better idea of how it works.
I<3Android said:
Thanks so much for this Mod. It really opens up the gaming on the a7. Will there be a update from Dexters new update?
Click to expand...
Click to collapse
Thanks. I'll try to get something new together this weekend.
Your awesome!!
thanks
Yeah new update
first, sorry for my english, second, i wanna know if theres a way to use paired joysticks in the emulator psxperia, if theres, anyone can say?
grigio888 said:
first, sorry for my english, second, i wanna know if theres a way to use paired joysticks in the emulator psxperia, if theres, anyone can say?
Click to expand...
Click to collapse
Well if you convert your own games using yifanlu's psxperia converter you have to tick enable analog on the last screen, from there you run your emu on the phone and press menu, select controller settings, enable analogue mode, go to assign buttons and select type 5
there you go
ff7fan4eva said:
Well if you convert your own games using yifanlu's psxperia converter you have to tick enable analog on the last screen, from there you run your emu on the phone and press menu, select controller settings, enable analogue mode, go to assign buttons and select type 5
there you go
Click to expand...
Click to collapse
Hey bud, thanks, i will try soon, my friend whos have the ps3 controller.
can the emu work with wii controller?
EDIT: another thing, theres a way to use the play's pad as controller 1 and ps3/wii as controller 2?
grigio888 said:
Hey bud, thanks, i will try soon, my friend whos have the ps3 controller.
can the emu work with wii controller?
EDIT: another thing, theres a way to use the play's pad as controller 1 and ps3/wii as controller 2?
Click to expand...
Click to collapse
I don't think you can assign a bluetooth controller as port two, you can switch control pads though in the assign controller option, I have no idea why anyone would use player 2 only in a game. But i do think you can assign a bluetooth controller as player 2 in fpse
ff7fan4eva said:
I don't think you can assign a bluetooth controller as port two, you can switch control pads though in the assign controller option, I have no idea why anyone would use player 2 only in a game. But i do think you can assign a bluetooth controller as player 2 in fpse
Click to expand...
Click to collapse
its for games like Marvel vs. Capcom, KOF, CTR, Metal Slug, etc...
i guess its impossible by now, i'll try fpse, thanks again.
Hi
I've been toying with the idea of using the note as amongst other things a sort of game tab.
With that said, I've been researching around the web and found a plethora of gampads both usb and BT.
Now the one thing that seems to be an issue is game support and remapping of keys.Also in alot of cases ( samsung gamepad!!! ) you also have to repurchase the games either from playstore or from developer xxxxxx market .
I've tested a few , amongst them steelseries free, but there is always something missing.
For example I love the size and feel of the steelseries, but the game support is so so, and even games that it does support have missing features/ functions. Best example GTA 3 + steelseries free = no button for horn in the game ( a few missions actually need that)
Now I've considered getting a ps3 controller, but I'm not planing to root my unit anytime soon ( unless the whole knox issue is sorted), but then I'm left with the question is there a way to remap key without root?
Or for that mater are there any other controllers that would allow that without root??
Anyone?
Check out the Nyko Playpad. I BELIEVE with the Nyko Playground app you might be able to do the reconfiguration to your liking.
My review of the pad is here: http://reviews.greenrobotgamer.com/game-review/nyko-playpad-pro-controller/
Can anyone confirm the remapping of nyko is possible without root??
Anyone have anything to add to this?
DeBoX said:
Anyone have anything to add to this?
Click to expand...
Click to collapse
Try a wired ps3 pad with sixassix or however its spelt its not to problematic but unsure if you can remap without root but I'm sure that will be your best bet its quite easy to remap and build touch profiles just search YouTube and you will be well away
I have a moga controller and use the universal moga driver app. It allows me to use the controller as a virtual keypad (gamepad mode requires root) and it works just fine for my PSOne and SNES games.
I'd also recommend the moga pro. Best gamepad out there. Official and unofficial driver app, for gamepad or keyboard input and complete 360 style layout. Also very nice attachment for smartphones and works with alot of games out of the box and all emulators i tried have a profile for it. Epsxe for example even with analog support.
clouds5 said:
I'd also recommend the moga pro. Best gamepad out there. Official and unofficial driver app, for gamepad or keyboard input and complete 360 style layout. Also very nice attachment for smartphones and works with alot of games out of the box and all emulators i tried have a profile for it. Epsxe for example even with analog support.
Click to expand...
Click to collapse
Can you confirm key remapping and " touchscreen "support ?
DeBoX said:
Can you confirm key remapping and " touchscreen "support ?
Click to expand...
Click to collapse
Hm not sure if I understand correctly what you mean so I'll try
https://play.google.com/store/apps/details?id=net.obsidianx.android.mogaime
with this app you can use the gamepad in "keyboard mode" meaning you can map any button on the gamepad to any "key" possible on the android keyboard. In this mode all keys are digital buttons though including the analog sticks, because that's the way keyboards work. This works without root.
The app has a gamepad mode which enables full analog support for the sticks but that requires root.
-->BUT there is an official moga app (https://play.google.com/store/apps/details?id=com.bda.pivot.mogapgp) which also has two modes which you can switch to with the controller itself. There is a "moga" mode (green light) and a standard HID gamepad mode (orange light). With those two modes you're able to basically play every android game that has built in gamepad support, including full analog sticks. And both the ps1 emulator i use (epsxe) and the N64 emu (Mupen64) work with one of those modes out of the box. I don't even have the universal driver installed anymore because it is not needed in most cases.
Now to your other thing, I believe you mean mapping touchscreen input to the buttons? Bad news: There is no app or controller that allows you to do that without root. As far as I know at least, and I was following the development of those apps quite closely, even worked as a beta tester for this app: https://play.google.com/store/apps/details?id=com.poke64738.usbjoygold
Just the info I was looking for
While on the subject, does the sixaxis app work without root? Might be able to get my hands on a ps3 controller.
Strongly considering moga at this point.
btw any experience with the moga pocket or hero (small one) ??
DeBoX said:
Just the info I was looking for
While on the subject, does the sixaxis app work without root? Might be able to get my hands on a ps3 controller.
Click to expand...
Click to collapse
Sixaxis and a PS3 controller work very well, have touchscreen support and allow remapping but you have to be rooted. I have used Sixaxis on my Xoom and S4 (both of which are rooted) but thanks to Samsung and their stupid Knox nonsense, I cannot use Sixaxis on my Note.
I figured that you need root to get touchscreen part working, but do you need root for the rest ( on the sixaxis app) ie will it work at all without root?
Not keen on shelling out 25$ and realising that I might as well bought a moga hero or pocket for a 10 or so more that would to the job just as well.
btw any thoughts on nyko playpad vs moga hero or pocket?
DeBoX said:
I figured that you need root to get touchscreen part working, but do you need root for the rest ( on the sixaxis app) ie will it work at all without root?
Not keen on shelling out 25$ and realising that I might as well bought a moga hero or pocket for a 10 or so more that would to the job just as well.
Click to expand...
Click to collapse
Just read the description of the app on play store. The first line under important says Root required. So yes it needs root. And I'm sure you'll find reviews of those controllers on YouTube.
You can connect a ps3 controller to a android wireless but you will need root privileges. An OTG Cable Could be used to connect the controll with a wire and without root.
I have two game controllers, the Ouya Controller and the Logitech F710. Both are excellent for the Fire TV, but I continue to have issues with game compatibility. Some games work flawlessly, others certain buttons do nothing in the game. I've also got the Ouya system apps setup and working well, but there seems to be a lot of controller issues with it. I figured that having the Ouya Controller with the Ouya system apps would reduce controller compatibility. This is not the case. I'm looking for ways to remap the game controllers. I've tried Tincore Keymapper and it works for onscreen controls fairly well. What about actually remapping a controller. Ideally, if I could trick the FTV to thinking one of these controllers was an actual FTV controller, I think that would be the way to go. I'm looking for ideas or apps to try and accomplish this.
Most apps that do not have a keymap setting use default buttons for that app. Lets say you have a game and the controller works, it does not mean the contoller will be setup the way you like. Most games do not even have gamepad support, which blows my mind this day in age. It is not the controller that doesn't work for the game, it is that the games do not have support for gamepads. Just look in the Amazon app store on your Fire TV and it tells you the games that have gamepad support, keyboard support, fire tv controller support and fire TV remote support, and you will see that some apps do not even support gamepads at all including the fire TV gamepad. My advice is if you can use your controller with a game, get used to the configuration and over time it will not be that bad. If you have a game that does not work at all with your controller then it probably never will. There is another solution though, buying a controller that works in different modes. There are gamepads that have different modes for android so that it can be used as a keyboard, touchpad, gamepad and Icade. So if your game requires touch or keyboard you just change the controllers mode. The G910 gamepad seem to be popular with people that need to use gamepads with different input modes, google it to learn more on the subject, better yet watch a youtube video of the controller to see how it works, and if it is what you are looking for.
porkenhimer said:
Most apps that do not have a keymap setting use default buttons for that app. Lets say you have a game and the controller works, it does not mean the contoller will be setup the way you like. Most games do not even have gamepad support, which blows my mind this day in age. It is not the controller that doesn't work for the game, it is that the games do not have support for gamepads. Just look in the Amazon app store on your Fire TV and it tells you the games that have gamepad support, keyboard support, fire tv controller support and fire TV remote support, and you will see that some apps do not even support gamepads at all including the fire TV gamepad. My advice is if you can use your controller with a game, get used to the configuration and over time it will not be that bad. If you have a game that does not work at all with your controller then it probably never will. There is another solution though, buying a controller that works in different modes. There are gamepads that have different modes for android so that it can be used as a keyboard, touchpad, gamepad and Icade. So if your game requires touch or keyboard you just change the controllers mode. The G910 gamepad seem to be popular with people that need to use gamepads with different input modes, google it to learn more on the subject, better yet watch a youtube video of the controller to see how it works, and if it is what you are looking for.
Click to expand...
Click to collapse
I'm well aware of games that do or do not have controller support. That's not my issue. My issue is that between the two controllers I have, some games with controller support are not getting used correctly. For instance, Shadowgun. The L2 button does not function the way it is supposed to which means I can not play the game correctly. This one in particular is for the Ouya, and granted, I'm hacking the ability to play it on the FTV, but still, all other buttons work fine. I seem to recall reading another person having an issue with the R2 and L2 buttons not working right on a game. I want to remap how the FTV uses the controller, not how the games buttons are mapped on a controller.
I have found an interesting situation. So I have the Logitech F710 and the Ouya controller and have testing many different games using both controllers. Some worked fine, some didn't and this was independent of the controller. Many had have some issue. I also have the Logitech K700 Wireless Keyboard/Trackpad, which works wonderfully, by the way. Someone mentioned having an issue with Modern Combat 5 from the Google Play Store not working with the controller, but found that if they disconnected their keyboard, then it worked. I have found this to be true for me, and for several games. An example is Shadowgun. With the keyboard connected, the L2 and R2 buttons do nothing. If I disconnect the keyboard, then start the game, it just works. I've been trying to identify these differences in other games too. This seems to be an odd thing to me. Why should the functionality of one device be dependent upon if another is connected or not? Oh, I also have a simple BT mouse, but that doesn't seem to be affecting anything. I'm wondering if a dongled USB device supercedes a BT connected device in some manner. I'm looking for others that have experienced these differences in controller functionality. I would like to put together a list of games and which controllers work best.
The only way that I know of to remap keys for a device in Android is by creating a .kl file for the controller, which requires root. Sideload keytest.apk to your FTV and use that to determine what the scan codes are for each button on the controller, and then from a shell prompt input "cat /proc/bus/input/devices" without the quotes. That will give you a list of devices and various information on them, so find your controller in the list and pay attention to the vendor and product IDs. Copy the contents from /system/usr/keylayout/generic.kl into a blank text file that you will name Vendor_0000_Product_0000.kl with the zeroes replaced with your device's appropriate vendor and product IDs. From there it's just editing the scan codes to match whatever keys you want them to represent, mount /system r/w, copy the .kl file to /system/usr/keylayout and reboot. Voila, your new keymappings should work.
This might not be the right way to do this, but it does work. I've used this method to reconfigure a Sony DS3, a wireless X360 pad and an aftermarket remote (Mele F10 Deluxe) and it's worked great every time. It should be pointed out that it's a really terrible idea to edit generic.kl directly since a change there changes that keymapping in the software keyboard as well, so if you get something wrong you might not be able to undo your changes.
dismissthesky said:
The only way that I know of to remap keys for a device in Android is by creating a .kl file for the controller, which requires root. Sideload keytest.apk to your FTV and use that to determine what the scan codes are for each button on the controller, and then from a shell prompt input "cat /proc/bus/input/devices" without the quotes. That will give you a list of devices and various information on them, so find your controller in the list and pay attention to the vendor and product IDs. Copy the contents from /system/usr/keylayout/generic.kl into a blank text file that you will name Vendor_0000_Product_0000.kl with the zeroes replaced with your device's appropriate vendor and product IDs. From there it's just editing the scan codes to match whatever keys you want them to represent, mount /system r/w, copy the .kl file to /system/usr/keylayout and reboot. Voila, your new keymappings should work.
This might not be the right way to do this, but it does work. I've used this method to reconfigure a Sony DS3, a wireless X360 pad and an aftermarket remote (Mele F10 Deluxe) and it's worked great every time. It should be pointed out that it's a really terrible idea to edit generic.kl directly since a change there changes that keymapping in the software keyboard as well, so if you get something wrong you might not be able to undo your changes.
Click to expand...
Click to collapse
Thanks for the detailed suggestion. When I get the time, I'm going to try this. I wonder if doing it both with the keyboard plugged in and with it unplugged would yield different codes given that at least the L2 and R2 buttons are affected.
If someone has an official Fire TV controller, I would appreciate it if they could generate that scancode list for it. My goal is to make the Ouya controller 100% copy the Fire TV controller buttons.
xm41907 said:
Thanks for the detailed suggestion. When I get the time, I'm going to try this. I wonder if doing it both with the keyboard plugged in and with it unplugged would yield different codes given that at least the L2 and R2 buttons are affected.
If someone has an official Fire TV controller, I would appreciate it if they could generate that scancode list for it. My goal is to make the Ouya controller 100% copy the Fire TV controller buttons.
Click to expand...
Click to collapse
Vendor_1949_Product_0402 (found in that same keylayout directory) appears to be the kl for the Amazon controller and it will have all of the scan codes for it. If I were you I'd just use that as a template instead of generic.kl. Using generic.kl is going to give you a ton of scan codes being active that you're not going to use, since it's for a keyboard, so it really makes a lot more sense to just start with a gamepad with a similar configuration.
xm41907 said:
Thanks for the detailed suggestion. When I get the time, I'm going to try this. I wonder if doing it both with the keyboard plugged in and with it unplugged would yield different codes given that at least the L2 and R2 buttons are affected.
If someone has an official Fire TV controller, I would appreciate it if they could generate that scancode list for it. My goal is to make the Ouya controller 100% copy the Fire TV controller buttons.
Click to expand...
Click to collapse
Would probably be impossible, cause there are some games that will only recognize the fire TV controller and will not let you use any other gamepad. I guess its Amazons way of saying "if you wanna play this game you have to buy our controller before hand."
---------- Post added at 10:45 PM ---------- Previous post was at 10:28 PM ----------
xm41907 said:
I'm well aware of games that do or do not have controller support. That's not my issue. My issue is that between the two controllers I have, some games with controller support are not getting used correctly. For instance, Shadowgun. The L2 button does not function the way it is supposed to which means I can not play the game correctly. This one in particular is for the Ouya, and granted, I'm hacking the ability to play it on the FTV, but still, all other buttons work fine. I seem to recall reading another person having an issue with the R2 and L2 buttons not working right on a game. I want to remap how the FTV uses the controller, not how the games buttons are mapped on a controller.
Click to expand...
Click to collapse
The problem is that you did not understand my reply. I gave you a solution to your problem and you did not wanna hear it. if you would have googled the controller I told you to google you would have found an app called BitGamesClient. After you install and open the app, click on my joystick and it will install another app called Open Pad Union. After installing it you might be able to remap the buttons for a lot of games, but only if you gamepad is detected by the Open Pad Union app. Some of my gamepads are and some aren't, but you won't know til you try. If your gamepad is detected, when you open games that are compatible with Open Pad Union a controller mapper will popup so that you can map the buttons for that game. Then when you open another game that is compatible the same mapper will popup and let you map the buttons for that game. Not all games work and not all gamepads work, like I said, you won't know what games and gamepads work til you try.
porkenhimer said:
Would probably be impossible, cause there are some games that will only recognize the fire TV controller and will not let you use any other gamepad. I guess its Amazons way of saying "if you wanna play this game you have to buy our controller before hand."
---------- Post added at 10:45 PM ---------- Previous post was at 10:28 PM ----------
The problem is that you did not understand my reply. I gave you a solution to your problem and you did not wanna hear it. if you would have googled the controller I told you to google you would have found an app called BitGamesClient. After you install and open the app, click on my joystick and it will install another app called Open Pad Union. After installing it you might be able to remap the buttons for a lot of games, but only if you gamepad is detected by the Open Pad Union app. Some of my gamepads are and some aren't, but you won't know til you try. If your gamepad is detected, when you open games that are compatible with Open Pad Union a controller mapper will popup so that you can map the buttons for that game. Then when you open another game that is compatible the same mapper will popup and let you map the buttons for that game. Not all games work and not all gamepads work, like I said, you won't know what games and gamepads work til you try.
Click to expand...
Click to collapse
That was because purchasing another controller is not a solution when I currently have spent about $60 on controllers already. In your first response you did not mention apps that might work with my current controllers, but only recommended trying a different controller with multiple modes. I will look into the two apps you just mentioned though. Perhaps they will detect one or both controllers I currently have. Thanks for the input too. Don't take my response against buying another controller a negative against you. I just don't want to spend more money on it.
I am having a similar issue. I've tried the information above already.
Devices:
Nyko Playpad Pro - Vendor 1d79 product 0009
GameStop controller - Vendor 0000 Product 0000
Open Pad Union didn't see either controller.
Keytest.apk doesn't show a keycode when the left and right triggers are used on the Nyko Playpad Pro.
Games:
Dungeon Quest : Nyko does fine except the right and left triggers (which aren't vital to the game) don't work. Gamestop controller works correctly, including triggers.
GP Riptide 2: Nyko works correctly. Gamestop controller triggers don't work (and acceleration and braking are done via triggers).
Oddly, neither have a KL file. I copied the Vendor_1949_Product_0402.kl to each of the above vendor/product numbers and rebooted. No change in behavior.
Is there a way to determine which KL a particular device uses (since neither HAD a KL file before I copied the default amazon controller KL file to look like theirs).
The Nyko controller says it is HID compliant. The Gamestop controller is anyone's guess. The Gamestop controller works like the ipega controllers (same trigger behavior).
ractar28 said:
Is there a way to determine which KL a particular device uses (since neither HAD a KL file before I copied the default amazon controller KL file to look like theirs).
Click to expand...
Click to collapse
Yeah, oddly enough there's a description of how to do that a whole 5 posts up from yours
dismissthesky said:
The only way that I know of to remap keys for a device in Android is by creating a .kl file for the controller, which requires root. Sideload keytest.apk to your FTV and use that to determine what the scan codes are for each button on the controller, and then from a shell prompt input "cat /proc/bus/input/devices" without the quotes. That will give you a list of devices and various information on them, so find your controller in the list and pay attention to the vendor and product IDs. Copy the contents from /system/usr/keylayout/generic.kl into a blank text file that you will name Vendor_0000_Product_0000.kl with the zeroes replaced with your device's appropriate vendor and product IDs. From there it's just editing the scan codes to match whatever keys you want them to represent, mount /system r/w, copy the .kl file to /system/usr/keylayout and reboot. Voila, your new keymappings should work.
This might not be the right way to do this, but it does work. I've used this method to reconfigure a Sony DS3, a wireless X360 pad and an aftermarket remote (Mele F10 Deluxe) and it's worked great every time. It should be pointed out that it's a really terrible idea to edit generic.kl directly since a change there changes that keymapping in the software keyboard as well, so if you get something wrong you might not be able to undo your changes.
Click to expand...
Click to collapse
Edit: So sorry for the snarky response. Apparently I misread what you'd said since you already have the product and vendor IDs. Maybe give this a go instead? I believe if your device gives all zeroes for the IDs like that it probably defaults to Generic.kl, which you CAN edit, but you really shouldn't unless you're certain you know what you're doing. My NES30 gives all zeroes as well and I haven't found a way around it.
ractar28 said:
I am having a similar issue. I've tried the information above already.
Devices:
Nyko Playpad Pro - Vendor 1d79 product 0009
GameStop controller - Vendor 0000 Product 0000
Open Pad Union didn't see either controller.
Keytest.apk doesn't show a keycode when the left and right triggers are used on the Nyko Playpad Pro.
Games:
Dungeon Quest : Nyko does fine except the right and left triggers (which aren't vital to the game) don't work. Gamestop controller works correctly, including triggers.
GP Riptide 2: Nyko works correctly. Gamestop controller triggers don't work (and acceleration and braking are done via triggers).
Oddly, neither have a KL file. I copied the Vendor_1949_Product_0402.kl to each of the above vendor/product numbers and rebooted. No change in behavior.
Is there a way to determine which KL a particular device uses (since neither HAD a KL file before I copied the default amazon controller KL file to look like theirs).
The Nyko controller says it is HID compliant. The Gamestop controller is anyone's guess. The Gamestop controller works like the ipega controllers (same trigger behavior).
Click to expand...
Click to collapse
Interesting that neither controller was detected in Open Pad Union. I've not taken the time to check that app out yet myself, but I would think that if the FTV was recognizing the controller, then it would've captured the button presses. I did play a bit with the KL file for my OUYA controller. I remapped one button which was causing a Home issue. It wasn't from my own tinkering though. I found it on a forum, but can't recall which one.
For Nyko Playpad Pro, here is the KL file I use. This is modified from the original. Note, on Fire TV, there is no original file, as Amazon did not include a KL file for this device. As such, you MUST have root access to make changes.
File location: /system/usr/keylayout
File name: Vendor_1d79_Product_0009.kl
Steps:
1. MUST HAVE ROOTED DEVICE
2. Using ADB
Code:
adb connect <ip address of firetv>
adb shell
su
mount -o remount,rw /system /system
How you GET the file from your computer to the FireTV is up to you.
File contents:
Code:
# Copyright (C) 2010 The Android Open Source Project
# Copyright (C) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Nyko Playpad Pro
#
# Buttons
key 304 BUTTON_A
key 305 BUTTON_B
key 307 BUTTON_X
key 308 BUTTON_Y
key 310 BUTTON_L1
key 311 BUTTON_R1
key 315 BUTTON_START
key 158 BACK
key 172 HOME
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR
key 103 DPAD_UP
key 105 DPAD_LEFT
key 106 DPAD_RIGHT
key 108 DPAD_DOWN
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x05 RZ
axis 0x09 RTRIGGER
axis 0x0a LTRIGGER
axis 0x10 HAT_X
axis 0x11 HAT_Y
axis 0x09 GAS
axis 0x0a BRAKE
Verified working in Riptide GP2, Minecraft PE, Fields of Battle
The differences seem to be that some games look for "RTRIGGER" and some look for "GAS" and same with LTRIGGER and BRAKE
Edit: It seems that Amazon decided they would rewrite how controllers work and they want the apps to use GAS and BRAKE instead of RTrigger/LTrigger, which means that if the game is "written for" Fire TV, then they use gas/brake. If it was written for other platforms, they look for Rtrigger/Ltrigger. From the above, it would appear that the last entry "wins" in the KL file, so even though I had 0x09 as Rtrigger and Gas, it only send "gas" to the game.
The only choice I see at this point is two different controllers (not same make/model) or start changing keylayout files based upon which profile you need. Absolutely UGLY approach, IMHO.
ractar28 said:
For Nyko Playpad Pro, here is the KL file I use. This is modified from the original. Note, on Fire TV, there is no original file, as Amazon did not include a KL file for this device. As such, you MUST have root access to make changes.
File location: /system/usr/keylayout
File name: Vendor_1d79_Product_0009.kl
Steps:
1. MUST HAVE ROOTED DEVICE
2. Using ADB
Code:
adb connect <ip address of firetv>
adb shell
su
mount -o remount,rw /system /system
How you GET the file from your computer to the FireTV is up to you.
File contents:
Code:
# Copyright (C) 2010 The Android Open Source Project
# Copyright (C) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Nyko Playpad Pro
#
# Buttons
key 304 BUTTON_A
key 305 BUTTON_B
key 307 BUTTON_X
key 308 BUTTON_Y
key 310 BUTTON_L1
key 311 BUTTON_R1
key 315 BUTTON_START
key 158 BACK
key 172 HOME
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR
key 103 DPAD_UP
key 105 DPAD_LEFT
key 106 DPAD_RIGHT
key 108 DPAD_DOWN
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x05 RZ
axis 0x09 RTRIGGER
axis 0x0a LTRIGGER
axis 0x10 HAT_X
axis 0x11 HAT_Y
axis 0x09 GAS
axis 0x0a BRAKE
Verified working in Riptide GP2, Minecraft PE, Fields of Battle
The differences seem to be that some games look for "RTRIGGER" and some look for "GAS" and same with LTRIGGER and BRAKE
Edit: It seems that Amazon decided they would rewrite how controllers work and they want the apps to use GAS and BRAKE instead of RTrigger/LTrigger, which means that if the game is "written for" Fire TV, then they use gas/brake. If it was written for other platforms, they look for Rtrigger/Ltrigger. From the above, it would appear that the last entry "wins" in the KL file, so even though I had 0x09 as Rtrigger and Gas, it only send "gas" to the game.
The only choice I see at this point is two different controllers (not same make/model) or start changing keylayout files based upon which profile you need. Absolutely UGLY approach, IMHO.
Click to expand...
Click to collapse
Good to know, but sucks for us. I've been wondering if an Xposed module could be made to switch KL files based upon which game is played.
This will only work if you have a NVidia compatible card and the NVidia GeForce Exp App. on PC This guide will also show you how to make the quality of the games excellent.
First get newest copy of PCSXR
Download the Natural Vision Shader plugin
Download Pete's OpenGL2 PSX GPU Version 2.9
Download the newest Pokopom XInput Pad Plugin
Unzip PCSXR to a place on your PC where u intend to keep it to use , do not use it from the desktop just find a place my docs etc..
Unzip the Natural Shader zip and place the Natural folder into the directory of PCSXR
Unzip the OpenGL2 PSX GPU Version 2.9 and place the contents into the plugins folder in PCSXR
Open PCSXR and go to configuration, then to plugins&bios
Under graphics use the drop down to select Petes OpenGl2 driver 2.9,
Under that select configure heres where you will tweak the settings to have the best effects
Click the drop down under Full screen Filters and select ARB program(gpuPeteOGL2.vp/fp) Then
click the browse button directly to the right of that drop down and browse to where you placed the Natural folder and select it.
Click ok to save these options , back at the plugins and bios screen under graphics you will see
first controller use the drop down to select Pokopom Xinput Pad Plugin click ok to save options for
now.
Open the NVidia GeForce exp and go to Preference then on the left side select SHIELD make sure
there is a check mark in the box where it says Allow this PC to stream to SHIELD devices then on the
right click the + sign and browse to the folder where u have PCSXR and select the PCSX exe and add it
to your list of shield games.
On fire tv install the moonlight apk I got this from the amazon app store on my kindle then transferred to the fire tv
Open the moonlight app on the fire tv it will scan and should find your PC select your PC and you will
see a list of games, select PCSX and run it, at this point it should pop up the NVidia exp window on
your PC this is where we will configure the controller. Get Your Bluetooth controller amazon or
otherwise and hop over to Your PC making sure it is in range with your amazon Fire tv .
On PCSXR select configuration plugins and bios, then under First controller select configure and
configure Your controller as you would if it was connected yes this part has to be done on the PC but
once its configured its saved, after that load Your game and in a few seconds it should be on Your tv
screen in full screen nice quality and have a wireless controller to use with it.
EDIT-- My son informs me that the sound on some of his games is not that great, this plugin spupeopsdsound109 from Petes plugin site corrects that, just place it into the plugins folder of Psxcr and choose it from the plugins and bios config
I have my fire tv hard wired to my net but I tested doing this with my wireless and a Bluetooth
controller and I had no controller or game lag whatsoever
This method also works with PcSX2 for ps2 games to stream to amazon ftv but all you have to do is
add the PCSX2 exe to the NVidia shield games list and configure controller all necessary plugins are
already set up in the newest version
screenshots at bottom are of the plugins and bios section and my settings for op quality i would provide links to the programs used here but google can also do that