| Summary: | PocketPC + GetCursorPos always return error 120 (ERROR_CALL_NOT_IMPLEMENTED) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Andrey <afletdinov> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | x86 | ||
| OS: | Windows (CE)/PocketPC | ||
| Attachments: |
WinCE GetCursorPos fixed
fix getcursorpos with skip gapitransform WinCE GetCursorPos fixed GapiTransform fixed result of attachment. |
||
Created attachment 356 [details]
fix getcursorpos with skip gapitransform
I updated the patch.
Now it shows the correct position of the cursor.
I checked it on the iPAQ rx5915 and iPAQ hx2490b.
I tested it in landscape mode, 320x240.
Created attachment 365 [details]
WinCE GetCursorPos fixed
Created attachment 366 [details]
GapiTransform fixed
I make a small test, here's the result:
Screen orientation: landscape portrait landscape portrait
SDL_SetVideoMode: 320x240 320x240 240x320 240x320
GAPI info:
display bpp: 16 16 16 16
display width: 320 240 320 240
display height: 240 320 240 320
system display width: 240 240 240 240
system display height: 320 320 320 320
x pitch: 2 640 2 640
y pitch: 640 -2 640 -2
gapi flags: 0xa0 0xa8 0xa0 0xa8
user orientation: 0 3 0 0
system orientation: 3 0 3 0
gapi orientation: 0 3 0 3
video memory: 0x46400000 0x4640027e 0x46400000 0x4640027e
need update: 1 1 1 1
hi-res fix: 1 (?) 0 0 0
VGA is available on the device: 1 1 1 1
use raw framebuffer: 0 0 0 0
video surface bpp: 16 16 16 16
video surface width: 320 320 240 240
video surface height: 240 240 320 320
mouse/arrows transformation angle: 0 3 0 0
use origin SDL result:
display rotate correct: yes yes no yes
mouse direction correct: no yes no yes
use pathed SDL result:
display rotate correct: yes yes no yes
mouse direction correct: yes yes yes yes
Created attachment 367 [details]
result of attachment.
Thanks, I put your patch in subversion. |
Created attachment 355 [details] WinCE GetCursorPos fixed I'm using iPAQ HP rx5919, with Windows Mobile 5. And I also use mingw32ce 0.59.1 toolchain. I fixed this, see attachment patch.