Re: stuffing characters to keyboard buffer.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am working in 2.4.20-8 kernel. To fill the keyboard buffer with characters from user space, I used TIOCSTI
ioctls. Is there a similar method so I can send raw keyboard codes into
the scancode buffer? ioctls("/dev/tty0",TIOCSTI,&c);
   it worked in Console.

ioctls("/dev/tty7",TIOCSTI,&c);
  is not working in x-windows. Here c is a character.

Can you guide me in this regard.

 ThanksInAdvance,
  P.Manohar,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux