salawat
|
2011-01-12
, 10:37
|
Posts: 149 |
Thanked: 25 times |
Joined on Nov 2009
|
#1021
|
|
2011-01-12
, 11:05
|
Posts: 289 |
Thanked: 49 times |
Joined on Jun 2010
|
#1022
|
|
2011-01-12
, 16:18
|
|
Posts: 534 |
Thanked: 723 times |
Joined on Oct 2009
|
#1023
|
I've tried Risk on Preenv 0.1.3 but it is displayed only on 2/3 of the screen height and it does not match up the touch area which is shifted of stretched.
If you know the reason or how to solve the problem I would be really grateful.
Here's what I get in output:
Code:SDLGL: called sdl_init with flags = 0x100230 X11: PID is 12400 PDL: Init: Service name is com.javispedro.preenv.risk PDL: Main thread created PDL: Set do_not_disturb flag to false PDL: Application handles pause events PDL: Application tries to set 'touch aggression' SDLGL: Requested GL major version 1 SDLGL: Called SetVideoMode(480, 320, 0, 0x2) SDLGL: Requested OpenGL video mode SDLGL: SDL_GLES initialized (res=0) SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok PDL: Switch orientation to 3 PDL: Screen dimming prevention ON PDL: Set do_not_disturb flag to true SDLGL: Sending lose focus event PDL: Readjusting dimming prevention timer PDL: Waiting for main loop thread to die PDL: Main loop thread died SDLGL: Called SDL_Quit
Called SetVideoMode(480, 320, 0, 0x2)
The Following User Says Thank You to jflatt For This Useful Post: | ||
|
2011-01-12
, 23:03
|
|
Posts: 534 |
Thanked: 723 times |
Joined on Oct 2009
|
#1024
|
|
2011-01-13
, 01:30
|
Posts: 249 |
Thanked: 47 times |
Joined on Apr 2010
|
#1025
|
I've got fake multi-touch going. Basically look for SDL key events, and dispatch a fake SDL mouse event to some very specific screen coordinates. I set the SDL flag telling it to be mouse number 2. I mapped the arrow keys (looks like pre doesn't have arrows) to onscreen d-pad, and just played through the first level of Earthworm Jim since it was said to be impossible without multitouch. I don't think there's any way to map the keys up correctly without some kind of per-game configuration. I tried NOVA, but the mouse has to be slid to take effect, I'll try and get that working next.
Edit:
Yep, NOVA can work too, just fake a mouse motion event. I wonder if we overlaid every d-pad based game, is there any chance we could find one set of coordinates that would hit every one of the buttons in each game? For example if a screenshot were taken of earthworm jim, and one of nova, overlaid on top of each other, then adjust opacity, is there a chance the up keys would have at least one pixel in common?
|
2011-01-13
, 07:06
|
Posts: 509 |
Thanked: 522 times |
Joined on Aug 2010
@ indonesia
|
#1026
|
|
2011-01-13
, 07:24
|
Posts: 58 |
Thanked: 10 times |
Joined on Jan 2010
|
#1027
|
I've got fake multi-touch going. Basically look for SDL key events, and dispatch a fake SDL mouse event to some very specific screen coordinates. I set the SDL flag telling it to be mouse number 2. I mapped the arrow keys (looks like pre doesn't have arrows) to onscreen d-pad, and just played through the first level of Earthworm Jim since it was said to be impossible without multitouch. I don't think there's any way to map the keys up correctly without some kind of per-game configuration. I tried NOVA, but the mouse has to be slid to take effect, I'll try and get that working next.
Edit:
Yep, NOVA can work too, just fake a mouse motion event. I wonder if we overlaid every d-pad based game, is there any chance we could find one set of coordinates that would hit every one of the buttons in each game? For example if a screenshot were taken of earthworm jim, and one of nova, overlaid on top of each other, then adjust opacity, is there a chance the up keys would have at least one pixel in common?
|
2011-01-13
, 09:25
|
Posts: 509 |
Thanked: 522 times |
Joined on Aug 2010
@ indonesia
|
#1028
|
|
2011-01-13
, 16:21
|
Posts: 543 |
Thanked: 151 times |
Joined on Feb 2010
@ Germany
|
#1029
|
I've got fake multi-touch going. Basically look for SDL key events, and dispatch a fake SDL mouse event to some very specific screen coordinates. I set the SDL flag telling it to be mouse number 2. I mapped the arrow keys (looks like pre doesn't have arrows) to onscreen d-pad, and just played through the first level of Earthworm Jim since it was said to be impossible without multitouch. I don't think there's any way to map the keys up correctly without some kind of per-game configuration. I tried NOVA, but the mouse has to be slid to take effect, I'll try and get that working next.
Edit:
Yep, NOVA can work too, just fake a mouse motion event. I wonder if we overlaid every d-pad based game, is there any chance we could find one set of coordinates that would hit every one of the buttons in each game? For example if a screenshot were taken of earthworm jim, and one of nova, overlaid on top of each other, then adjust opacity, is there a chance the up keys would have at least one pixel in common?
|
2011-01-13
, 16:31
|
Posts: 509 |
Thanked: 522 times |
Joined on Aug 2010
@ indonesia
|
#1030
|