lkml.org 
[lkml]   [2005]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [W:0.053 / U:0.132 seconds]
©2003-2014 Jasper Spaans. Advertise on this site