The Following User Says Thank You to tobiasj For This Useful Post: | ||
![]() |
2008-03-24
, 17:51
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#2
|
![]() |
2008-03-24
, 17:52
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
![]() |
2008-03-24
, 18:01
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#4
|
![]() |
2008-03-24
, 18:06
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|
![]() |
2008-03-24
, 18:23
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#6
|
Lol.
About Hildonising, I don't think you really could. Just map the full screen function to F6 & fix minimising
![]() |
2008-03-24
, 18:34
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#7
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2008-03-24
, 18:57
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#8
|
As a fellow n00b developer (my crap port y/day)
Look in the c files for SDLK and something after it.
Run xev on the device and see which button does what and map that to the right button in http://www.libsdl.org/cgi/docwiki.cgi/SDLKey and change in the code.
Like middle dpad button= return (xev) = SDLK_RETURN
Full screen button at top = F6 (xev return value) = SDLK_F6
![]() |
2008-03-24
, 19:07
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#9
|
The full-screen and minimize buttons I have to work on still, thats not as simple as just changing key-mappings in the code.
However thats what this is all about, learning how to port to maemo.. well that and having a wicked cool Atari130Xe on my N800
time to go back to maemo.org and see what I can find out about the hildon libs..
-John
![]() |
2008-03-24
, 19:32
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#10
|
Minimizing I don't think is provided by a keycode. The code I ported had the full screen function in it; just mapped to another button.
, good luck with this
I am trying to port the atari800 emulator to os2008 and after configuring it for sdl and compiling it does work, after a fashion. (see photos)
If anyone has any hints on how to hildonize it properly (yes, I have read the 'Maemo 4.0 Porting Guide' and to be honest I had less idea how to do it when I finished reading that than I did before I read it.)
Atari800 doesn't use glade, which is the example used in the porting guide (it doesnt have a UI persay, just the window it runs in.) I am not sure it even really needs hildonizing to be honest.
Sound is another issue, when running the basic cart/rom there is supposed to be a short phht noise and then the READY prompt. well the phht noise never stops though the other sounds seem to work properly (key press and such) you can use the dpad to arrow around the screen and the center button is enter.
I am going to create a 'boot disc' for it and pop it into the 'drive' and see how much else is working.
So anyway, just putting this out there and if anyone has any tips, ideas or just wants to offer suggestions please do.
Thanks,
-John
You can find more information about this port at http://www.n8ftl.com/maemo and more information on the original at http://atari800.atari.org.
Last edited by tobiasj; 2008-03-28 at 16:11. Reason: Added latest download. added better images