/Riddim/evdev_handler.c |
---|
134,6 → 134,8 |
inputs[i].evdev_rel_axis = (int *) calloc( 100, sizeof( int ) ); |
inputs[i].evdev_button = (char *)calloc( 500, sizeof( char ) ); |
printf(" opening evdev %s\n",inputs[i].fname); |
if ((inputs[i].evdev_out_fd = open(inputs[i].fname, O_WRONLY)) < 0) |
{ |
printf(" cant open %s for writing\n",inputs[i].fname); |