Keytouch-editor 2 error on compile.
Brought to you by:
marvinr
I get the following error when I try to compile:
device.c: In function `get_scancode':
device.c:119: error: `MSC_RAW' undeclared (first use
in this function)
device.c:119: error: (Each undeclared identifier is
reported only once
device.c:119: error: for each function it appears in.)
device.c:119: error: `MSC_SCAN' undeclared (first use
in this function)
make: *** [device.o] Error 1
This is on Debian with a 2.6.8-2 kernel. Google
doesn't show much with a search on MSC_RAW or
MSC_SCAN, so I don't know what library or module I
don't have installed.
Also, getscancodes doesn't show anything when I
press the extended keys. It also doesn't show the
scancodes, just the corrisponding key code.
Logged In: YES
user_id=972280
They are defined in my linux/input.h
I added the following code to the program to solve this problem:
#ifndef MSC_RAW
# define MSC_RAW 0x03
#endif
#ifndef MSC_SCAN
# define MSC_SCAN 0x04
#endif
Please download version 2.0.1