Notices


Reply
Thread Tools
Posts: 72 | Thanked: 2 times | Joined on Sep 2010
#1
first of all .. my english not so good so I hope u guys understand what I want

is there anyway to play Web os games with PS3 controller ?

...

thnkx
 
Posts: 1,326 | Thanked: 1,524 times | Joined on Mar 2010
#2
I would like to know too.

Before the new additions to preenv, I knew this was not possible but now we have the keyboard mapping, could this be done know?

Would someone with the jflatt mods please try?

Last edited by MINKIN2; 2011-01-24 at 21:39.
 
jflatt's Avatar
Posts: 534 | Thanked: 723 times | Joined on Oct 2009
#3
I've been thinking about adding this. I'll check it out when I get a chance
 

The Following 5 Users Say Thank You to jflatt For This Useful Post:
jflatt's Avatar
Posts: 534 | Thanked: 723 times | Joined on Oct 2009
#4
It looks like the dualshock already emulates a mouse and keyboard. The left joystick looks like a real mouse, but it's seen as mouse 0 also, I don't know if there's a way to distinguish the dualshock from the touchscreen. The right stick looks like mouse button presses. I'll probably have a look at a hal fdi policy to remap things. All the other buttons, including d-pad should already work fine as keyboard keys. Here's the keycodes:
Code:
up - 273
down - 274
right - 275
left - 276
select - 32
start - 271
ps button - 100
triangle - 115
x - 122
o - 120
square - 97
L1 - 119
L2 - 113
R1 - 101
R2 - 114
 

The Following 2 Users Say Thank You to jflatt For This Useful Post:
mankir's Avatar
Posts: 276 | Thanked: 224 times | Joined on Dec 2009 @ Frankfurt, Germany
#5
to use a wiimote in horizontal mode would be cool, too!
__________________
MOD-Package: http://talk.maemo.org/showthread.php?t=42415
 
Posts: 72 | Thanked: 2 times | Joined on Sep 2010
#6
Originally Posted by jflatt View Post
It looks like the dualshock already emulates a mouse and keyboard. The left joystick looks like a real mouse, but it's seen as mouse 0 also, I don't know if there's a way to distinguish the dualshock from the touchscreen. The right stick looks like mouse button presses. I'll probably have a look at a hal fdi policy to remap things. All the other buttons, including d-pad should already work fine as keyboard keys. Here's the keycodes:
Code:
up - 273
down - 274
right - 275
left - 276
select - 32
start - 271
ps button - 100
triangle - 115
x - 122
o - 120
square - 97
L1 - 119
L2 - 113
R1 - 101
R2 - 114
thank u du

but .. what should I do with these code ? << noob
 
Posts: 218 | Thanked: 128 times | Joined on Dec 2010 @ Abu Dhabi , UAE
#7
Originally Posted by jflatt View Post
I've been thinking about adding this. I'll check it out when I get a chance
Sorry jflatt but I have a question.Is it possible to configure the language line in the games like gangstar? You know, there are many users that like to make this game work.
 
jflatt's Avatar
Posts: 534 | Thanked: 723 times | Joined on Oct 2009
#8
Originally Posted by govprog View Post
Sorry jflatt but I have a question.Is it possible to configure the language line in the games like gangstar? You know, there are many users that like to make this game work.
You can set your LANG environment variable. The PDK supposedly uses 5 character codes, such as en_US or fr_FR. That particular application, and any other one using the irrlicht engine, has some probably unrelated bug in it. In a debugger the stack gets destroyed and there is no way I know of to figure out where it's actually segfaulting.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:53.