maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Remapping keys for WebOS and Nitdroid games (https://talk.maemo.org/showthread.php?t=68167)

deny_winarto 2011-01-13 22:03

Re: Remapping keys for WebOS and Nitdroid games
 
Quote:

Originally Posted by mdb666 (Post 919616)
It presses A+W at the same time.

Yep, same here.

Dany-69 2011-01-13 22:11

Re: Remapping keys for WebOS and Nitdroid games
 
Jflatt soooo where is the scriiiipt :D ?

jflatt 2011-01-14 05:28

Re: Remapping keys for WebOS and Nitdroid games
 
It figures the first one I try, Assassin's Creed would have problems. It registers really quick clicks, and seems to respond to other keys. I mapped out Earthworm Jim instead, and it works well I think. If you want to check it out, do as root
Code:

wget http://members.cox.net/jflatt/libsdlpre.so
mv libsdlpre.so /home/opt/preenv/lib/libsdlpre.so

The d-pad keys still almost line-up exactly to Assassin's Creed so you can see what this patch does with it. If you keep one finger on the touchscreen, the keyboard keys should work somewhat.

Andy1210 2011-01-14 05:48

Re: Remapping keys for WebOS and Nitdroid games
 
woooooooow, you're amazing!!
i can move in assasin's creed with touch screen, and now i can jump with "P" key! Assassin's Creed is fully playable now!! :)

now i can move and shot or move and jump at the same time in nova :D

mdziaf 2011-01-14 07:09

Re: Remapping keys for WebOS and Nitdroid games
 
Quote:

Originally Posted by jflatt (Post 920013)
It figures the first one I try, Assassin's Creed would have problems. It registers really quick clicks, and seems to respond to other keys. I mapped out Earthworm Jim instead, and it works well I think. If you want to check it out, do as root
Code:

wget http://members.cox.net/jflatt/libsdlpre.so
mv libsdlpre.so /home/opt/preenv/lib/libsdlpre.so

The d-pad keys still almost line-up exactly to Assassin's Creed so you can see what this patch does with it. If you keep one finger on the touchscreen, the keyboard keys should work somewhat.

I'm interested in trying this, but what does it actually do?

does it map the mouse2 by pressing an assigned position on the touch screen, or through a key on the keypad? if its the latter, could we change the assignments?

mido.fayad 2011-01-15 01:05

Re: Remapping keys for WebOS and Nitdroid games
 
now Driver , assasins , hero of sparta , nova , angry birds seasons , blades of fury , castle of magic are fully playable and no need for multitouch

although we need to add some buttons to be fully playable with keyboard

Dany-69 2011-01-15 01:10

Re: Remapping keys for WebOS and Nitdroid games
 
Jflatt no way to choice the key and the coordinates of the mouse event? :D
How to modify the file? >.<

Sh1t it work great :D!
the coordinates are not perfect for nova (i've only that now) but it works !
Now you have only to teach us how do this by ourself :D
I'd say to contact the develooper of preenv ... this is an epocal fact :D
I'll take more peple here (from an italian community :P) to give visibility to this thread :D

Great job bro :D

porselinaheart 2011-01-15 01:41

Re: Remapping keys for WebOS and Nitdroid games
 
confirmed Earthworm Jim works, thanks so much jflatt. I love this game!

AgogData 2011-01-16 04:38

Re: Remapping keys for WebOS and Nitdroid games
 
jflatt, in games like NOVA and avatar, when you press W its not straight forward..its slightly tilting to the right and same for X which suppose to be down, any fix for that ?

bbkshine 2011-01-16 06:01

Re: Remapping keys for WebOS and Nitdroid games
 
Nice... I am really Loving u GUys..

btw guys can u guide me How to do it.. as i am a noob


All times are GMT. The time now is 20:18.

vBulletin® Version 3.8.8