You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
503 B

--- cmdpad-0.0.3/src/parse.orig 2008-01-05 23:55:32.000000000 +0100
+++ cmdpad-0.0.3/src/parse.c 2008-01-05 23:56:07.000000000 +0100
@@ -289,6 +289,12 @@
pchEventDevice = strdup( pchValue) ;
return 1 ;
}
+ if( (pchValue != NULL) &&
+ (strncmp( pchValue, "/dev/event", 6) == 0) )
+ {
+ pchEventDevice = strdup( pchValue) ;
+ return 1 ;
+ }
printf( "Option 'device' expects a /dev/input/eventX argument\n");
return -1 ;
}