5,596,637 Members 41,901 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Play GamePad instead of the keyboard

Tip us?
 
IdeosDev
Old
#31  
IdeosDev's Avatar
Recognized Developer
Thanks Meter 4197
Posts: 1,368
Join Date: Aug 2011

 
DONATE TO ME
Nice idea and work out on my phone (Y)




 
Riotr
Old
#32  
Senior Member
Thanks Meter 46
Posts: 121
Join Date: Jan 2012
Fairly good idea @paul: what if you could incorporate the proximity sensor in this? i think that would be good. we just swipe a thumb over the sensor (not touching it, just near it.) and use that as a button as well?? is it a good idea? probably it could be used as "L"???????? to hold down we just keep a finger still above the sensor. (or even your face if you need to complete some combo or something while holding down the button) that way we still have volume buttons "free to use"
 
sqpp
Old
#33  
sqpp's Avatar
Senior Member
Thanks Meter 17
Posts: 103
Join Date: Aug 2011
Location: Őrhalom
Default asphalt 5,6

works with asphalt 5 or 6?
---- ## TABLET PC ## ----
[Device]: WayteQ xTAB-70
[Condition]: Crashed LCD at corner, but works
[Status]: Rooted
[ROM]: idX7 Russian ROM(ICS/4.0.3)
[Kernel]: WayteQ Stock Kernel
[Recovery]: xRecovery

----- ## PHONE ## ------
[Device]: Sony Ericsson X10 Mini Pro
[Condition]: Good
[Status]: -
[ROM]: No System Currently Installed
[Kernel]: Waiting to get workable nAa-06
[Recovery]: CWM-v6.0.2.8
 
Riotr
Old
#34  
Senior Member
Thanks Meter 46
Posts: 121
Join Date: Jan 2012
or is it possible or a good idea to remap the volume buttons to the arrow keys beside the space bar so that we can use the volume racker as the "L". or you still hate the whole "L button on volume racker"? lol
 
BPaul
Old
#35  
BPaul's Avatar
Recognized Developer - OP
Thanks Meter 7124
Posts: 1,938
Join Date: May 2011
Location: Astana

 
DONATE TO ME
Quote:
Originally Posted by sqpp View Post
works with asphalt 5 or 6?
only asphalt 6, tested on xperia play
- Index - GitHub - VK - Facebook - Google+ - OXP -
Devices
  • Xperia acro S - Soon will be AOSP 4.4.x
All custom firmwares, where mentioned Bravia Engine, xLOUD, Beats Audio, Dolby Mobile. Are not based on the stock firmware from SONY or HTC very very poor. Remember that!
Click thanks button please
 
E4est
Old
(Last edited by E4est; 26th February 2012 at 11:39 PM.)
#36  
E4est's Avatar
Member
Thanks Meter 22
Posts: 56
Join Date: Dec 2010
Location: Neustadt (Hessen)
Quote:
Originally Posted by Riotr View Post
or is it possible or a good idea to remap the volume buttons to the arrow keys beside the space bar so that we can use the volume racker as the "L". or you still hate the whole "L button on volume racker"? lol
That's EXACTLY what I was thinking about, but he simply hates it.
If a developer doesn't like an idea, we can't force him to do it.

I respect Paul as developer and if it's his decision, I won't try to change it.
Let's stop annoying him. If someone REALLY needs it, he can try to do it himself...


EDIT: Sorry, but after I wrote this I just thought "This can't be that hard..."
Here you go. (Attachment) Didn't test it exactly, but it should work.
Will take the picture from Paul and modify it.
Have fun.

Btw: The script by D4 in the original .zip seems to delete the gamepad.kl ?!?
It's written similar to this:
If there is no file called "mimmi_keypad.kl.bak" then rename "mimmi_keypad.kl" to "mimmi_keypad.kl.bak" and "gamepad.kl" to "mimmi_keypad.kl". If there is a file called "mimmi_keypad.kl.bak" delete "mimmi_keypad.kl" and rename "mimmi_keypad.kl.bak" to "mimmi_keypad.kl". (To translate into human speech.^^)
I changed that to not delete, but rename to "gamepad.kl".


EDIT2: Here is an ugly picture of the key mapping. I didn't find that font Paul used, so I made it this way. It's just for people who don't understand what finally is the point of this.
Attached Thumbnails
Click image for larger version

Name:	269961.jpg
Views:	208
Size:	122.7 KB
ID:	921348  
Attached Files
File Type: zip game_keypad#E4estMOD.zip - [Click for QR Code] (127.1 KB, 35 views)
My Phone History:
Alcatel One Touch Easy db (SIM-Lock, SIM broken...) -> Siemens C25 (Batteries sucked) -> Sagem MC 930 (Battery sucked) ->
Siemens C35 (My father drew with our car over it, no GSM anymore. Everything else works! ) -> Sony Ericsson K700i (Batteries sucked) ->
Sony Ericsson W810i (Still working) -> Sony Ericsson XPERIA X10 mini pro (Loved it, but annoyed a bit...) -> Nokia Lumia 920
 
SondreVAIO
Old
#37  
SondreVAIO's Avatar
Senior Member
Thanks Meter 12
Posts: 123
Join Date: Mar 2011
Paul? You got a PLAY???

Sent from my R800i using xda premium
My Devices

Xperia PLAY R800i Rooted
Rom= eXTREMIA V1
Rom Build= 4.0.2.A.0.42
Kernel= DoomKernel v11

X10 Mini Pro U20i Rooted
Rom = eXTREMIA V1
Rom Build= eXTREMIA V1 2.3.7
Kernel= 2.1.1.A.0.6

Huawei Ideos U8150 Rooted
Rom=eXTREMIA 2.3.7 V1
Rom Build=V1
Kernel= Multitouch Kernel




 
BPaul
Old
#38  
BPaul's Avatar
Recognized Developer - OP
Thanks Meter 7124
Posts: 1,938
Join Date: May 2011
Location: Astana

 
DONATE TO ME
Quote:
Originally Posted by E4est View Post
That's EXACTLY what I was thinking about, but he simply hates it.
If a developer doesn't like an idea, we can't force him to do it.

I respect Paul as developer and if it's his decision, I won't try to change it.
Let's stop annoying him. If someone REALLY needs it, he can try to do it himself...


EDIT: Sorry, but after I wrote this I just thought "This can't be that hard..."
Here you go. (Attachment) Didn't test it exactly, but it should work.
Will take the picture from Paul and modify it.
Have fun.

Btw: The script by D4 in the original .zip seems to delete the gamepad.kl ?!?
It's written similar to this:
If there is no file called "mimmi_keypad.kl.bak" then rename "mimmi_keypad.kl" to "mimmi_keypad.kl.bak" and "gamepad.kl" to "mimmi_keypad.kl". If there is a file called "mimmi_keypad.kl.bak" delete "mimmi_keypad.kl" and rename "mimmi_keypad.kl.bak" to "mimmi_keypad.kl". (To translate into human speech.^^)
I changed that to not delete, but rename to "gamepad.kl".


EDIT2: Here is an ugly picture of the key mapping. I didn't find that font Paul used, so I made it this way. It's just for people who don't understand what finally is the point of this.
im make other soon
- Index - GitHub - VK - Facebook - Google+ - OXP -
Devices
  • Xperia acro S - Soon will be AOSP 4.4.x
All custom firmwares, where mentioned Bravia Engine, xLOUD, Beats Audio, Dolby Mobile. Are not based on the stock firmware from SONY or HTC very very poor. Remember that!
Click thanks button please
 
D4rKn3sSyS
Old
#39  
D4rKn3sSyS's Avatar
Recognized Developer
Thanks Meter 15730
Posts: 3,770
Join Date: Jan 2011
Location: Monteria

 
DONATE TO ME
Quote:
Originally Posted by E4est View Post
Btw: The script by D4 in the original .zip seems to delete the gamepad.kl ?!?
It's written similar to this:
If there is no file called "mimmi_keypad.kl.bak" then rename "mimmi_keypad.kl" to "mimmi_keypad.kl.bak" and "gamepad.kl" to "mimmi_keypad.kl". If there is a file called "mimmi_keypad.kl.bak" delete "mimmi_keypad.kl" and rename "mimmi_keypad.kl.bak" to "mimmi_keypad.kl". (To translate into human speech.^^)
I changed that to not delete, but rename to "gamepad.kl".
Ups!.. did it on hurry, sorry
 
BPaul
Old
#40  
BPaul's Avatar
Recognized Developer - OP
Thanks Meter 7124
Posts: 1,938
Join Date: May 2011
Location: Astana

 
DONATE TO ME
dont forget add here
Code:
#! /system/bin/sh
cd /system/usr/keylayout/
mount -o remount,rw
if [ ! -f mimmi_keypad.kl.bak ]
then
	mv mimmi_keypad.kl mimmi_keypad.kl.bak
	mv gamepad.kl mimmi_keypad.kl
	echo "Keyboard Mode: Gamepad"
else
	rm mimmi_keypad.kl
	mv mimmi_keypad.kl.bak mimmi_keypad.kl
	echo "Keyboard Mode: Normal"
fi
sleep 5
reboot
- Index - GitHub - VK - Facebook - Google+ - OXP -
Devices
  • Xperia acro S - Soon will be AOSP 4.4.x
All custom firmwares, where mentioned Bravia Engine, xLOUD, Beats Audio, Dolby Mobile. Are not based on the stock firmware from SONY or HTC very very poor. Remember that!
Click thanks button please

The Following User Says Thank You to BPaul For This Useful Post: [ Click to Expand ]
Tags
gamepad, mini, play, pro, x10
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes