Input feature under Pocket PC

Hi,

I managed to get Embedded visual C++ for WinCE platform to compil with
SDL support.
Compilation runs well

I compiled the 2nd lesson of cone3d programing ( for those who knows it
)

It print a background and a sprite onto the screen.

My problem is that the sprite does not move at all.
So i read that on the WinCe port there is not some keyboard support.
There is no joystick support too

But what about the button of the Pocket PC ?
Is there a way to make a wrapper in order to have the main button of the
pocket PC ( paddle + 5 button )to be recognize as the main usefull
keyboard input ( ESC, RETURN, LCTRL, SPACE, ALT )
Is there a way to do the same for the joystick setting ? ( most of the
PPC have a paddle )

Do you plan to add theeses input solution in the future release of SDL ?

Any help is welcome,

Thank you

Regards

Pekele

So i read that on the WinCe port there is not some keyboard support.
Keyboard support is present but buggy. I have not been able to get it to work
consistently.

There is no joystick support too
That follows logically from the fact that Windows CE does not support
joysticks. :wink:

Is there a way to make a wrapper in order to have the main button of the
pocket PC ( paddle + 5 button )to be recognize as the main usefull
keyboard input ( ESC, RETURN, LCTRL, SPACE, ALT )
Is there a way to do the same for the joystick setting ? ( most of the
PPC have a paddle )
Yes, there is. Try this library I made:
http://burningsmell.dyndns.org/SDL_hotkey/index.html

Thank you very much Tyler :slight_smile:

In fact, since my last post, i made a little code to print the name of
the key pressed.
I noticed that the keyboard input with the stylus seems buggy.

I also noticed that my paddle of my Asus A620 was not recognize.

So i use your usefull tool SDL_hotkey to have my hardware button mapped.

Only the paddle button of my PPC was not recognize, but i still work on
it.

Thank you very much for the quick help.

If someone knows some source code, or some program running under WinCE
platform, please tell me :slight_smile:

Thanks again.

Cheers

No problem. I built it to handle Compaq IPAQ buttons, but if you can find out
the codes for the keys on your PocketPC you can probably patch it to work.On Saturday 07 February 2004 15:37, Pekele wrote:

Thank you very much Tyler :slight_smile:

In fact, since my last post, i made a little code to print the name of
the key pressed.
I noticed that the keyboard input with the stylus seems buggy.

I also noticed that my paddle of my Asus A620 was not recognize.

So i use your usefull tool SDL_hotkey to have my hardware button mapped.

Only the paddle button of my PPC was not recognize, but i still work on
it.

Thank you very much for the quick help.