Update files to reduce dependance on kernel version...

-Erik
This commit is contained in:
Eric Andersen
2000-07-08 18:55:24 +00:00
parent 877a71bbf0
commit bd22ed8067
23 changed files with 184 additions and 87 deletions

View File

@@ -27,7 +27,14 @@
#include <stdlib.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/kd.h>
/* From <linux/kd.h> */
struct kbkeycode {
unsigned int scancode, keycode;
};
#define KDSETKEYCODE 0x4B4D /* write kernel keycode table entry */
static const char setkeycodes_usage[] =
"setkeycodes SCANCODE KEYCODE ...\n"