[lkml]   [2002]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: cell-phone like keyboard driver anywhere?
    Hi Holger,

    On Wed, Aug 21, 2002 at 09:32:36AM +0200, Holger Schurig wrote:
    > I have to write a keyboard driver for a cell-phone like keyboard. I'm just
    > wondering if this has been done before.
    > However, this file (as any other that I have seen) assumes that there are
    > shift, ctrl, alt etc layers. But a cell-phone like keyboard operates
    > differently, e.g.
    > 1 pause -> send keycode for character "a"
    > 1 1 pause -> send keycode for character "b"
    > 1 1 1 pause -> send keycode for character "c"
    > 2 pause -> send keycode for character "d"

    This can be done with counting repeat count of the last key until we
    reach the pause (done with a timer, that gets modified after each
    key pressed).

    If the pause is reached or after each key press you compute the
    keycode character that will be sent now.

    Cell phones usally do an replacement of the character until you
    do the pause or push a different key.

    So you would need to play console games, too (changing between
    insert and replace mode).

    Hope this helps.


    Ingo Oeser
    Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:28    [W:0.023 / U:52.316 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site