Torque posted this rather interesting tidbit of news:
Hi!
I'm thinking about implementing some kind of frontend for dingoo linux.
For it's first incarnation I want to implement a On-Screen keyboard (for
things like dosbox / "emergency" terminal).
so, here's how I think it could work:
Basic use cases:
- user presses a button on the device for a short period of time =>
on-screen keyboard is displayed, exit by pressing same button
or clicking UI element
- user presses a button on the device for a long period of time =>
OSD comes up and allows user to start another emu, player, or
display some system statistics, exit s.a.
Implementation:
- implemented as a daemon which listens for input
- daemon brings up UI
- daemon emulates keypresses when a key on the OSK are pressed,
and thus forwards them to the emulator / player
Current state of affairs:
- got a simple demo program running in my development VM using
guichan
http://guichan.sourceforge.net/
- planning to use
http://code.google.com/p/xmlguichan/ for easy
customization
- there's also a GUI editor
http://sourceforge.net/projects/gce
=> not yet evaluated
- I assume input is handled as a joystick device, so:
- tried out js2mouse
http://freshmeat.net/projects/js2mouse/ in
order to emulate mouse events for guichan
=> this somewhat worked, but the curser was jumping around
randomly
options are:
- try to get js2mouse working by testing js2mouse / SDL settings
- patch the guichan SDL backend to react to joystick events
recommendation?
Open questions:
- is this a good idea?
- how can I simulate key presses? some linux guru might be able to answer
this more quickly than me spending hours googling
SOLVED(?):
http://www.einfochips.com/download/dash_jan_tip.pdf seems
to be the way to go
- who's going to draw me a nice GUI / OSK? (my artistic capabilities are
very limited and only surface randomly )
Please discuss!
UPDATE
uinput stuff seems to work. gonna start a basic daemon tomorrow.
it will probably also translate joystick to mouse events using uinput
for guichan.
also evaluated gui editor (not very thoroughly), seems very basic ...
also doesn't seem to use the same xml format as xmlguichan.
...
Catherine: Full Body’s English translation for the Vita