search for: keycode_value

Displaying 1 result from an estimated 1 matches for "keycode_value".

2007 Sep 18
1
program to monitor USB keys
...clude <stdio.h> #include <errno.h> #include <fcntl.h> #include <signal.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #include <sys/stat.h> #include <linux/input.h> #include "smsignal.h" struct _msgnet_keycode { int keycode_value; char *keycode_str; int send_to_server; // .X will also send to server example: .4 says function 4 }; struct _msgnet_keycode msgnet_keycode[] = { {96, "KP_ENTER", 1}, // Keypad Enter Enter MUST be the first entry {28, "KP_ENTER", 1}, // Keypad Enter USB {14, "...