Reading scancodes under Linux
From: Mikkel Holm Olsen (mol_at_symlink.dk)
Date: 12/25/03
- Next message: ivo welch: "Re: how to extract LaTeX macro arguments?"
- Previous message: SRB: "invalid top dirctory - windows"
- Next in thread: nobull_at_mail.com: "Re: Reading scancodes under Linux"
- Reply: nobull_at_mail.com: "Re: Reading scancodes under Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Dec 2003 21:17:50 +0100
Hello everyone,
Does someone know of a way to handle both keypress and release in a
Linux-console (not X) from Perl? It seems this is the only way I'll be
able to have keyboard-repeat for some keys, but not for others, or does
anyone have other ideas.
I have done this before in C with:
ioctl(0,KDSKBMODE,K_MEDIUMRAW);
Seems a bit complicated to do the same thing with the perl-ioctl. Also
this will only run on the true terminals. It would be nice to be able to
have it running in a virtual console (xterm) as well for debugging.
Regards,
-- Mikkel Holm Olsen AKA Spaceman Spiff Denmark Alcohol & calculus don't mix. Never drink & derive.
- Next message: ivo welch: "Re: how to extract LaTeX macro arguments?"
- Previous message: SRB: "invalid top dirctory - windows"
- Next in thread: nobull_at_mail.com: "Re: Reading scancodes under Linux"
- Reply: nobull_at_mail.com: "Re: Reading scancodes under Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|