Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,220 Members 44,890 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 165
Posts: 584
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
Nexus 4 mako (Current) Stock and For Sale
Nexus 7 flo (Current) Slimkat ROM + ElementalX Kernel
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 165
Posts: 584
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
Nexus 4 mako (Current) Stock and For Sale
Nexus 7 flo (Current) Slimkat ROM + ElementalX Kernel
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 905
Posts: 1,446
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 165
Posts: 584
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
Nexus 4 mako (Current) Stock and For Sale
Nexus 7 flo (Current) Slimkat ROM + ElementalX Kernel
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 165
Posts: 584
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
Nexus 4 mako (Current) Stock and For Sale
Nexus 7 flo (Current) Slimkat ROM + ElementalX Kernel
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 ]
Tags
android, gamepad, games, kitkat
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Forums Added for the Nvidia Shield Tablet and Sharp Aquos Crystal

Just a few days ago, wetook an in depth look at theNvidia Shield Tabletand … more

[OTA Captured] Android 4.4.3 Lands on European HTC One M7

The secound release of the Android L Developer Previewmay be the new hotness for … more

Take a Perfectly Stable Shot with Open Camera

The camera app on our Android smartphones and tablets isn’t something we focus on all … more

Motorola Droid X Receives Almost Fully Functional KitKat Port

While we are all wondering when Google will decide to officially release … more