keyboard

Linux specific questions.
Post Reply
blahboybang
Posts: 385
Joined: Oct 16, 2005 0:15
Location: USA
Contact:

keyboard

Post by blahboybang »

which /dev port represents the keyboard, in linux?
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Post by DrV »

/dev/kbd is the raw keyboard device. I'm not sure I want to know why you want to know this, though. :)
blahboybang
Posts: 385
Joined: Oct 16, 2005 0:15
Location: USA
Contact:

Post by blahboybang »

My linux snes emulator needs the device name in order to use it. Ya, it sucks.
blahboybang
Posts: 385
Joined: Oct 16, 2005 0:15
Location: USA
Contact:

Post by blahboybang »

Hmm, that's strange. It seems that /dev/kbd does not exist. I looked through the entire directory. Is there any reason it might be called something different?
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Post by DrV »

Hmm, I dunno, I just googled for it and couldn't test it at work. :) Seems it doesn't exist on my box either. Maybe there is something useful in /dev/input/, though...
Post Reply