[lkml]   [1997]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Offtopic: simulating a keystroke
    wow really? great! i can't wait to get fooling with this :)
    now i will never have to reboot to a lesser os!! bwahahaha

    if anyone is interested in helping lemme know.


    On 8 Aug 1997, Aaron Ucko wrote:

    > fb <> writes:
    > > Woohoo, this may work... I'm not sure though because I think many games
    > > access they keyboard and read the 'make' or 'break' scan codes instead of
    > > chars but I will try this
    > They're still reading from /dev/tty<n>; they just do
    > ioctl(<kbdfd>, KDSKBMODE, K_RAW); /* or maybe K_MEDIUMRAW */
    > first, so you can just feed them bytes corresponding to the scan codes.
    > --
    > Aaron M. Ucko ( | For Geek Code, PGP public key, and other info,
    > finger | "Kids! Bringing about Armageddon can be dangerous.
    > Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_

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