Subversion Repositories Projects

Rev

Rev 486 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 486 Rev 505
Line 132... Line 132...
132
  for ( i =0 ; i< input_count;i++)
132
  for ( i =0 ; i< input_count;i++)
133
    {
133
    {
134
      inputs[i].evdev_rel_axis = (int *) calloc( 100, sizeof( int ) );
134
      inputs[i].evdev_rel_axis = (int *) calloc( 100, sizeof( int ) );
135
      inputs[i].evdev_button = (char *)calloc( 500, sizeof( char ) );
135
      inputs[i].evdev_button = (char *)calloc( 500, sizeof( char ) );
Line -... Line 136...
-
 
136
 
-
 
137
 
136
 
138
      printf(" opening evdev %s\n",inputs[i].fname);
137
      if ((inputs[i].evdev_out_fd = open(inputs[i].fname, O_WRONLY)) < 0)
139
      if ((inputs[i].evdev_out_fd = open(inputs[i].fname, O_WRONLY)) < 0)
138
        {
140
        {
Line 139... Line 141...
139
          printf(" cant open %s for writing\n",inputs[i].fname);
141
          printf(" cant open %s for writing\n",inputs[i].fname);