lkml.org 
[lkml]   [2005]   [May]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 4 May 2005 14:17:13 +0530 (IST)
From"P.Manohar" <>
SubjectRe: stuffing characters to keyboard buffer.
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-04 10:50    [from the cache]
©2003-2008