Before I left the Netherlands, many/most bars ran a juke box off the PC's
that were built into the screen, and they used xmms with such an
interface.

I wrote a touch screen interface library in c a while ago ( well, it was
1985, actually (: ). It's not too difficult - define your areas as a
single (x,y) coordinate in the centre of the image, and the touch as
another. THen use your old mate pythagoras to work out the nearest pair.
Touch screens are/were usually a serial interface so not too many dramas
getting the info out there.

However, you'll almost certainly find a gpl'd library. Which touchscreen
is it?

Steve

On Mon, October 31, 2005 12:53 pm, Nick Rout wrote:
> I really want to end up with the machine running one program (plus
> perhaps sshd and whatever else is needed to run networking and sound).
>
> The application I want to run is curses based and responds to
> keystrokes. There is no mouse interface. I want to control it via the
> touchpad. I have to translate screen touches (essentially mouse clicks)
> to keyboard strokes and have some sort of picture on the screen of the
> various "keys".
>
> Not every key needs to be represented, just the following:
>
> Special Keys:
>     !                  Power
>     Enter              Play
>     Space              Pause
>     Insert             Add
>     Delete             Add
>     Home               Now Playing
>     [                  Rewind
>     ]                  Forward
>     /                  Search
>     ?                  Shuffle
>     r                  Repeat
>     s                  Sleep
>     +                  Size (double-size not usable)
>     ^L                 Refresh Screen
>     v                  Debug mode Toggle
>     Backspace          Clear Error Message
>     q                  Quit Program
>
> Hmmm just counted 17, but insert and delete are a double up so that
> makes 16. A simple 16 key custom keyboard looks tempting, but just ends
> up being a dongle to flap about.
>
> Alternatively I could get some c guru to re-write the control part of
> the app, its basically one file 911 line c program.
>
> Or perhaps the approach is to make another program with curses for the
> keyboard emulation via the "mouse" and have it fed into stdin of the
> existing program?
>
> curses - mouse - gpm - anything is possible I guess.
>
> When it's finished I will demo it at a meeting.
>
>
> On Mon, 31 Oct 2005 12:40:11 +1300
> Ross Drummond wrote:
>
>> KDE application TypingTrainer has an on screen keyboard.
>>
>> You may be able to save the the keystrokes displayed in the output
>> panel. I
>> have not used this application myself
>>
>> Go to;
>> http://www.kde-apps.org/content/show.php?content=14711
>>
>> Cheers Ross Drummond
>>
>> PS. On rereading you email The TypingTrainer may not be what you want as
>> you
>> want to access the command line.
>>
>> On Mon, 31 Oct 2005 11:31, Nick Rout wrote:
>> > I have a tablet style device with linux drivers. It has no keyboard
>> > (although you can plug one in). However I want to control it just on
>> the
>> > built in screen.
>> >
>> > Does anyone know of an on screen keyboard that works on a text console
>> > and is controllable simply with a mouse (which is what the touchscreen
>> > emulates).
>
> --
> Nick Rout <[EMAIL PROTECTED]>
>
>


-- 
Work like you don't need the money,
Love like your heart has never been broken and
Dance like no one can see you.

Reply via email to