Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,541 Members 54,251 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Gamepad Support on KitKat

Tip us?
 
uchihakurtz
Old
#1  
uchihakurtz's Avatar
Senior Member - OP
Thanks Meter 167
Posts: 589
Join Date: Jan 2013
Location: Depok
Default [Q] Gamepad Support on KitKat

So, I have an iPega Bluetooth gamepad that worked fine during the day of 4.2.2-4.3 (on my Nexus 4) but after the KitKat update, it doesn't detect other buttons than the directional pad. Skip forward 3 months, I got my self a Nexus 7 FHD and definitely fell in love with the USB OTG support. Then, I had the idea of plugging my computer gamepad through the USB OTG and the same thing happened, only directional keys are detected.

Did KitKat break some gamepad support? How was playing games with gamepad before the KitKat update? Were you guys able to play games with PC gamepads?
Devices:
Sony Xperia Z1 Compact (Current) Stock rooted love it!
Nexus 7 flo (Current) Paranoid Android + Franco Kernel
Nexus 4 mako sold
Galaxy Tab 2 70 handed down to my lil' bro
Galaxy Ace II sold
Motorola XT Fire sold
Galaxy Gio stolen

Stressed out? Get some laugh at 9GAG and enjoy life
The Following User Says Thank You to uchihakurtz For This Useful Post: [ Click to Expand ]
 
haidernawaz99
Old
#2  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Jan 2013
Quote:
Originally Posted by uchihakurtz View Post
So, I have an iPega Bluetooth gamepad that worked fine during the day of 4.2.2-4.3 (on my Nexus 4) but after the KitKat update, it doesn't detect other buttons than the directional pad. Skip forward 3 months, I got my self a Nexus 7 FHD and definitely fell in love with the USB OTG support. Then, I had the idea of plugging my computer gamepad through the USB OTG and the same thing happened, only directional keys are detected.

Did KitKat break some gamepad support? How was playing games with gamepad before the KitKat update? Were you guys able to play games with PC gamepads?
Hmm, maybe some incompatablity issues. Can you tell us the Gaming Pad Model, and did you use that "iPega" Bluetooth Gaming Pad?
And, do tell that is the iPega designed for phone/tablets only ....?
 
uchihakurtz
Old
#3  
uchihakurtz's Avatar
Senior Member - OP
Thanks Meter 167
Posts: 589
Join Date: Jan 2013
Location: Depok
Quote:
Originally Posted by haidernawaz99 View Post
Hmm, maybe some incompatablity issues. Can you tell us the Gaming Pad Model, and did you use that "iPega" Bluetooth Gaming Pad?
And, do tell that is the iPega designed for phone/tablets only ....?
Sorry for the late reply, night time. Yeah it's designed specifically for phones and tablets, not for PC. I forgot the model number, I'll check it out when I'm near a computer.

Yeah, before the KitKat update, I could play many games including Asphalt 8, MC 4, NOVA, etc using the Ipega pad but since the update, none works as explained.

Sent from my Nexus 4 using XDA Premium 4 mobile app
Devices:
Sony Xperia Z1 Compact (Current) Stock rooted love it!
Nexus 7 flo (Current) Paranoid Android + Franco Kernel
Nexus 4 mako sold
Galaxy Tab 2 70 handed down to my lil' bro
Galaxy Ace II sold
Motorola XT Fire sold
Galaxy Gio stolen

Stressed out? Get some laugh at 9GAG and enjoy life
 
mdamaged
Old
#4  
mdamaged's Avatar
Senior Member
Thanks Meter 932
Posts: 1,480
Join Date: Oct 2013
Location: South of Heaven

 
DONATE TO ME
Quote:
Originally Posted by uchihakurtz View Post
Sorry for the late reply, night time. Yeah it's designed specifically for phones and tablets, not for PC. I forgot the model number, I'll check it out when I'm near a computer.

Yeah, before the KitKat update, I could play many games including Asphalt 8, MC 4, NOVA, etc using the Ipega pad but since the update, none works as explained.

Sent from my Nexus 4 using XDA Premium 4 mobile app
You might have to hack together a Vendor_*_Product_*.kl file for your device ID, here's an example of a kl file for xbox's controller. You can find the identifier and product on your system logs when the device plugged in. You may even be able to use an existing kl file, just rename it.
Kenneth, what is the frequency? Set a fire for a man, and he will stay warm for a night. Set a man on fire, and he will stay warm for the rest of his life.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The Following User Says Thank You to mdamaged For This Useful Post: [ Click to Expand ]
 
uchihakurtz
Old
#5  
uchihakurtz's Avatar
Senior Member - OP
Thanks Meter 167
Posts: 589
Join Date: Jan 2013
Location: Depok
Quote:
Originally Posted by mdamaged View Post
You might have to hack together a Vendor_*_Product_*.kl file for your device ID, here's an example of a kl file for xbox's controller. You can find the identifier and product on your system logs when the device plugged in. You may even be able to use an existing kl file, just rename it.
That is really interesting, I'll go try it out. Thanks man!
Devices:
Sony Xperia Z1 Compact (Current) Stock rooted love it!
Nexus 7 flo (Current) Paranoid Android + Franco Kernel
Nexus 4 mako sold
Galaxy Tab 2 70 handed down to my lil' bro
Galaxy Ace II sold
Motorola XT Fire sold
Galaxy Gio stolen

Stressed out? Get some laugh at 9GAG and enjoy life
 
uchihakurtz
Old
#6  
uchihakurtz's Avatar
Senior Member - OP
Thanks Meter 167
Posts: 589
Join Date: Jan 2013
Location: Depok
So I read the link you attached and as suggested checked out what my USB Game Controller is via logcat and found out it's a "Dragon Rise USB gamepad". I Googled it and found the driver file from this thread (download link here). Extracted the zip file, moved the .kl file into /system/usr/keylayout, changed the permission to 644 (rw-r--r--) and restarted.

It doesn't work on other games than Asphalt 8 and The Amazing Spiderman 2 but at least I can play those two games now, so yeah...

[SPOILER][/SPOILER]

I haven't tried the Ipega controller yet but will do when I'm in the mood. Thanks again @mdamaged
Devices:
Sony Xperia Z1 Compact (Current) Stock rooted love it!
Nexus 7 flo (Current) Paranoid Android + Franco Kernel
Nexus 4 mako sold
Galaxy Tab 2 70 handed down to my lil' bro
Galaxy Ace II sold
Motorola XT Fire sold
Galaxy Gio stolen

Stressed out? Get some laugh at 9GAG and enjoy life
The Following User Says Thank You to uchihakurtz For This Useful Post: [ Click to Expand ]
 
gwaldo
Old
#7  
gwaldo's Avatar
Senior Member
Thanks Meter 13
Posts: 253
Join Date: Dec 2013
Location: Melb.
Quote:
Originally Posted by uchihakurtz View Post
So I read the link you attached and as suggested checked out what my USB Game Controller is via logcat and found out it's a "Dragon Rise USB gamepad". I Googled it and found the driver file from this thread (download link here). Extracted the zip file, moved the .kl file into /system/usr/keylayout, changed the permission to 644 (rw-r--r--) and restarted.

It doesn't work on other games than Asphalt 8 and The Amazing Spiderman 2 but at least I can play those two games now, so yeah...

[SPOILER][/SPOILER]

I haven't tried the Ipega controller yet but will do when I'm in the mood. Thanks again @mdamaged
There should be an app that spoofs a controller(from many popular ones) then you map buttons/keys/sticks to it.. ie to fix gameloft no mapping options
 
uchihakurtz
Old
#8  
uchihakurtz's Avatar
Senior Member - OP
Thanks Meter 167
Posts: 589
Join Date: Jan 2013
Location: Depok
Quote:
Originally Posted by gwaldo View Post
There should be an app that spoofs a controller(from many popular ones) then you map buttons/keys/sticks to it.. ie to fix gameloft no mapping options
Yeah there are apps like that such as Tincore Keymapper but the interface is really confusing, I haven't found a user friendly app for that :\
Devices:
Sony Xperia Z1 Compact (Current) Stock rooted love it!
Nexus 7 flo (Current) Paranoid Android + Franco Kernel
Nexus 4 mako sold
Galaxy Tab 2 70 handed down to my lil' bro
Galaxy Ace II sold
Motorola XT Fire sold
Galaxy Gio stolen

Stressed out? Get some laugh at 9GAG and enjoy life
 
gwaldo
Old
#9  
gwaldo's Avatar
Senior Member
Thanks Meter 13
Posts: 253
Join Date: Dec 2013
Location: Melb.
Quote:
Originally Posted by uchihakurtz View Post
Yeah there are apps like that such as Tincore Keymapper but the interface is really confusing, I haven't found a user friendly app for that :\
Confusing is an understatement lol
I've contacted tincore devs asked them the same question.. no reply..
2014 and no button mapping on mobile games?? oh well.. maybe 2015

Tags
android, gamepad, games, kitkat
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


WowWee Mip – Android Accessory Review – XDA Developer TV

The holidays will be here in no time, so why not start thinking about … more

Stream Your Media Files with the New Version of Droid Sync Manager

Android is a Linux-based operating system, but this fact doesn’t put … more

Old but Gold Internet Browser is a Blast from the Past

A Web browser is one of these applications that we can’t live without. We useit … more

Real-World Battery Saving Tips for Android – XDA Developer TV

You need Real-World Battery Saving Tips for your Android device. Our … more