Author
|
Topic: Windows Mobile port? (Read 57048 times)
|
ptx
Frungy champion
Offline
Posts: 69
I love YaBB 1G - SP1!
|
Try this: 1. Get sdl.dll from http://rapidshare.com/files/116568260/SDL.dll.html 2. On your HP 210, create a new directory, and place the new sdl.dll there 3. Place keytest.exe there as well 4. Run keytest.exe and repeat the test (press the 4 keys and return)
The output file you will be looking for will be sdl_log.txt (it might be located in your "My Documents", or possibly in the root folder of the device).
The output format is as following: "SYM:%d, VK:0x%02X, SC:0x%04X\n", keysym->sym, vkey, scancode
|
|
|
Logged
|
|
|
|
|
|
Islanti
Zebranky food
Offline
Gender:
Posts: 8
|
1.2.13 is bundled with the latest SCUMMVM for Win32. There's no SDL.DLL included in the WinCE port, though. Maybe their WinCE distribution compiles a special version into the EXE?
For whatever it is worth I spoke with Sam Lantinga from the SDL project. He wasn't sure who was even working on the WinCE version of SDL these days so he suggested was to post to the SDL development mailing list. He also said that it should be possible to run SDL in debug mode and grab the raw key codes.
Keytest doesn't work with the distribution SDL 1.2.13 FWIW. The first DLL you provided (http://rapidshare.com/files/116568260/SDL.dll.html) gave the same results as the first test. The second DLL ran in a window (http://rapidshare.com/files/116571038/SDL.dll.html) and gave the same results as well.
|
|
« Last Edit: May 21, 2008, 07:47:16 pm by Islanti »
|
Logged
|
|
|
|
Islanti
Zebranky food
Offline
Gender:
Posts: 8
|
Here is the output from the sdl_log.txt file:
xyz: tlbr = 0/0/0/0 0x003B SYM:106, VK:0x25, SC:0xC03B SYM:44, VK:0x26, SC:0x0041 SYM:44, VK:0x26, SC:0xC041 SYM:103, VK:0x27, SC:0x0034 SYM:103, VK:0x27, SC:0xC034 SYM:0, VK:0x28, SC:0x0038 SYM:0, VK:0x28, SC:0xC038 SYM:0, VK:0x86, SC:0x0000 SYM:13, VK:0x0D, SC:0x0000 SYM:106, VK:0x25, SC:0x003B SYM:106, VK:0x25, SC:0xC03B SYM:44, VK:0x26, SC:0x0041 SYM:44, VK:0x26, SC:0xC041 SYM:103, VK:0x27, SC:0x0034 SYM:103, VK:0x27, SC:0xC034 SYM:0, VK:0x28, SC:0x0038 SYM:0, VK:0x28, SC:0xC038 SYM:0, VK:0x86, SC:0x0000 SYM:13, VK:0x0D, SC:0x0000 SYM:13, VK:0x0D, SC:0xC000 SYM:0, VK:0x86, SC:0xC000 SYM:106, VK:0x25, SC:0x003B SYM:106, VK:0x25, SC:0xC03B SYM:44, VK:0x26, SC:0x0041 SYM:44, VK:0x26, SC:0xC041 SYM:103, VK:0x27, SC:0x0034 SYM:103, VK:0x27, SC:0xC034 SYM:0, VK:0x28, SC:0x0038 SYM:0, VK:0x28, SC:0xC038 SYM:0, VK:0x86, SC:0x0000 SYM:13, VK:0x0D, SC:0x0000 SYM:13, VK:0x0D, SC:0xC000 SYM:0, VK:0x86, SC:0xC000
|
|
|
Logged
|
|
|
|
ptx
Frungy champion
Offline
Posts: 69
I love YaBB 1G - SP1!
|
Now we are at a point where we got d-pad working on the HP 210.. Although now there is a different issue: When pressing certain buttons, TWO keyboard events are generated... But only for certain buttons.
I was able to reproduce on my HTC Touch - only one button (Camera) does that: SYM:334, VK:0xCC, SC:0x0000 SYM:323, VK:0xC1, SC:0x0000
The rest of the buttons seem to be behaving:
Talk: SYM:284 VK:0x72, SC:0x0000
HangUp: SYM:285 VK:0x73, SC:0x0000
volumeUp: SYM:287 VK:0x75, SC:0x0000
VolumeDn: SYM:288 VK:0x76, SC:0x0000
Although, interestingly enough, "Return" button gives two events (one seems to be unmapped 0x86): Return: SYM:0 VK:0x86, SC:0x0000 SYM:13 VK:0x0D, SC:0x0000
|
|
|
Logged
|
|
|
|
RichEtheridge
Zebranky food
Offline
Posts: 3
|
I've tried the port on a couple of different Pocket PCs, a Jornada 565 and a Delll Axim v5. Both of these just sit at a spinning hourglass when the shortcut or executable is launched. I've read through this entire thread and believe I am going through the correct steps. Both of these Pocket PCs have 32MB. Is 64MB generally accepted to be the minimum requirement to run this on a pocket pc or is it possible to get the current build working on a 32MB pocket pc?
P.S. I just want to add my thanks to those who have been working to port UQM to other platforms. You guys are truly crazy, and it is appreciated.
|
|
« Last Edit: May 31, 2008, 07:43:59 am by RichEtheridge »
|
Logged
|
|
|
|
NamelessPlayer
*Many bubbles*
Offline
Posts: 104
|
I don't think this particular port will work on any OS older than Windows Mobile 5, given my own experiences with it. (It definitely doesn't seem to work under WM2003SE...)
|
|
|
Logged
|
|
|
|
|
|
|
Islanti
Zebranky food
Offline
Gender:
Posts: 8
|
I added the two devices I successfully tested to the Wiki. I'd like to add the keymap files as well since I had to do extensive tweaking to them. Where should I post them (as an attachment on this forum?) and in what format? By format I mean the filename as well as whether the original file should be updated or the post in-game configuration version is acceptable (which removes all the annotations).
|
|
|
Logged
|
|
|
|
|
|
|
|