![]() |
[REQUEST] HW Keyboard -> Multitouch emulation
Hi,
I've recently came across several Palm Pre games and I have installed them and been running them with preenv. I was surprised at how well most of the games I tried would run, in terms of graphics, sound and performance. The problem is the lack of multitouch, which makes it difficult or almost impossible to play some games properly. My suggestion is to capture the keyboard presses and make custom definitions within preenv to simulate touchscreen 'presses' occuring simultaneously on differente screen coordinates, effectively fooling the game's controls. How difficult would this be? Considering the limited number of games there are, would this be feasable? Please let me know what you think. Specially if someone is willing to implement this! silbah |
an idea to fix the preenv games multitouch problem .
ok preenv games are the best, they have one small problem, mltitouch, we need multitouch in games like driver, nova and hero of sparta, and to fix that on our n900 we can use the keyboard ! yes the keyboard would be something awesome to replace multitouch, what i mean is that we can user the up/down/left/right buttons to move in driver or nova or.... and that way we can use the touch screen for other things like shooting, driving, or what ever .
is this possible guys ? configurating some preenv controls to the keyboard. |
Re: an idea to fix the preenv games multitouch problem .
It is possible but you would need to find a way to interact with the control files in the games them selves. This may mean having to edit the control files though and that is not allowed :(
What issues are you having with Hero of Sparta and Driver? Nova is a pain i know but it becomes easy to run and jump with practice and you only really have to do that 3 times in the whole game. |
Re: an idea to fix the preenv games multitouch problem .
Or maybe an application to simulate the touchscreen eg: the "Q" key simulate the upper left corner and the "P" key simulate the upper right corner.
|
Re: an idea to fix the preenv games multitouch problem .
Made the same suggestion yesterday.
But didn't get any replies... http://talk.maemo.org/showthread.php?t=65717 *sigh* Maybe I posted in the wrong place... |
Re: an idea to fix the preenv games multitouch problem .
driver works fine with accelerometer control, but still nova is a pain, and this game have awesome graphycs, and how about assasin's grid (didn't install it) but it would be nice to play all its levels .
|
Re: an idea to fix the preenv games multitouch problem .
This could be useful for this kind of use also.
It is doable. |
Re: an idea to fix the preenv games multitouch problem .
Multitouch is a must!
|
Re: an idea to fix the preenv games multitouch problem .
You could use the proximity sensor too, most of the time the missing feature is a fire button. Also it could be configured to "hold" first finger position, and track the touchscreen input as second finger when "touched". If this feature is implemented not in game but preenv level, multitouch is given in all games. there could be a controlpanel config app to set the "fire button" position in every game or custom positions or configs. Secondary camera could also track slight motion (like half covered in different ways).
|
Re: an idea to fix the preenv games multitouch problem .
Quote:
|
Re: an idea to fix the preenv games multitouch problem .
Quote:
|
Re: an idea to fix the preenv games multitouch problem .
Quote:
And can you tell me what part of the Maemo licence is relevant to the touchscreen driver that I need to read (preferably with a link). Please bear in mind that it is unlikely that the licence would legally give them more rights to stop modification or reverse engineering than they would have without an explicit licence. |
Re: an idea to fix the preenv games multitouch problem .
Quote:
Preenv requires some work to be able to simulate multitouch. Namely, Palm uses a partially modified SDL with 1.2 and 1.3 bits, while on the N900 we use a pretty much stock SDL 1.2 In order to get multitouch to work Preenv would need to ship its own SDL, based on cleaning the released bits of the Palm's SDL. This is not very hard but would complicate maintenance quite a bit, and as you can guess, I do not have time to spare :). |
Re: an idea to fix the preenv games multitouch problem .
Quote:
,the thing I do fear is the sony's claim on any modifications done to it(After all, LCD itself belongs to sony).Sony is a little aggressive, and I do fear that. |
Re: an idea to fix the preenv games multitouch problem .
Yeah Sony make the LCD, but that gives them absolutely no claim on the touchscreen driver, saying they would is just as ridiculous as claiming they have any rights over the graphics driver on my netbook when I hook it up to a Sony TV.
|
Re: an idea to fix the preenv games multitouch problem .
uh, arent the LCD and touch input module two seperate parts? and i'm 90% sure Sony didnt make it, although i could be wrong.
Edit: TI made the touch module, so what's Sony doing in this thread? |
Re: an idea to fix the preenv games multitouch problem .
Quote:
|
Re: an idea to fix the preenv games multitouch problem .
Can we ignore aligoodidea and get back on topic? This has nothing to do with what ever gibberish he is on about.
We have applications like the VNC server that pass through emulated single clicks already, would a second touch be impossible to pass through to the system? If so an application that maps "touch at X , Y" when Key is pressed should not be impossible. We don't need to modify any of the PreEnv games either. |
Re: an idea to fix the preenv games multitouch problem .
Do you guys mean something like this: (Note,Touchscreen LCD required):
Originally for windows mobile(Windows PC too). link:http://www.windowsphoneme.com/index.php?file=431 P.S:Sorry guys, please delete my replies and your post, sometimes, I do mention things with false words(And worry too much for something that's not needed to worry about). |
Re: an idea to fix the preenv games multitouch problem .
Thanks, works for me(Winodws mobile 6), but I don't know why so many users what to laugh to you although you helped me on:http://talk.maemo.org/showthread.php?t=67207&page=2
|
Re: an idea to fix the preenv games multitouch problem .
I have succesfully mapped a key press to a touchscreen action using a combination of cat, a hex editor and xbindkeys doing something like this (as root):
Code:
cat ~/actioninhexcode >> /dev/input/event3Code:
11 EC 05 4D 2B D2 00 00 03 00 00 00 00 08 00 00Code:
struct input_event {Then you map any key you want to the above command using xbindkeys. My point being, if anybody changes the touchscreen driver for a multitouch one and adds multitouch support for the xserver (maybe not needed?), something like the above could be used in combination of normal touchscreen usage (I guess). |
Re: an idea to fix the preenv games multitouch problem .
Quote:
I wonder if quick mili second alternating between two tap locations would pass as multitouch on the games. |
Re: an idea to fix the preenv games multitouch problem .
Quote:
|
Re: an idea to fix the preenv games multitouch problem .
We already know what fake multitouch is, and why it sucks.
|
Re: an idea to fix the preenv games multitouch problem .
Why do I have the impression that allgoodidea and govprog are the same person?
Ah! it's because their lack of politeness. |
Re: an idea to fix the preenv games multitouch problem .
@govprog
Do you know what you are talking about? :p The files you have posted are C# classes: they are pretty useless. They could be used to develop C# or Mono multitouch applications, but they will not help anyone to satisfy our desire to have multitouch emulation in preenv games. As I said in another thread, if we want multitouch emulation we need multi-point support from X server. Once we will obtain that, we could take in consideration azstunt idea (emulation with hardware keyboard). Until then: no way! I tried to write a little application to emulate multitouch using Qt, but
If we really want multitouch emulation, we need to start talking about porting multitouch support in X server (http://www.fooishbar.org/blog/tech/x...-17-18-22.html). Regards :) |
Re: an idea to fix the preenv games multitouch problem .
Quote:
|
Re: an idea to fix the preenv games multitouch problem .
Quote:
|
Re: an idea to fix the preenv games multitouch problem .
Quote:
The problem is that they are for Windows, we can't directly use them. Quote:
|
Re: [REQUEST] HW Keyboard -> Multitouch emulation
And is something like that possible: the microb zoom gesture triggers the multitouch zoom gesture?
It's nice to be able to zoom stuff. I've got one app from MeeGo that's barely useable without zooming. |
Re: [REQUEST] HW Keyboard -> Multitouch emulation
FYI, I already did fake multitouch thingie to N810 few years back when we were playing with webkit multitouch API's on single touch devices. AFAIK same code works in N900.
http://keymouse.berlios.de/ |
Re: [REQUEST] HW Keyboard -> Multitouch emulation
I tried "multitouch" on ubuntu with two attached mice a couple of years ago and it seemed to work ok. There was not so much support back then from applications, but you could drag two windows simultaneously. I also asked on the N9 anticipation thread and somebody pointed out that harmattan uses a normal X server. So why are we talking about X server an multitouch when it already works? Is the maemo X server so outdated?
|
Re: [REQUEST] HW Keyboard -> Multitouch emulation
Quote:
|
| All times are GMT. The time now is 07:24. |
vBulletin® Version 3.8.8