Activity for Bernat

  • Bernat Bernat created ticket #507

    Can't load compressed dsk files

  • Bernat Bernat posted a comment on ticket #80

    Not resetting the instrument makes sense since it isn't a controller message but the extra controllers should reset.

  • Bernat Bernat created ticket #80

    Sending the MIDI reset doesn't reset all controllers in the UI

  • Bernat Bernat created ticket #79

    The option to keep the consistency of channels ignores the UI values

  • Bernat Bernat created ticket #78

    Clicking or using the mouse-wheel over knobs moves them but doesn't generate events

  • Bernat Bernat created ticket #77

    Extra controllers not saved with configuration

  • Bernat Bernat created ticket #76

    Changing instrument file doesn't remove old instruments/controllers

  • Bernat Bernat posted a comment on ticket #421

    Hi. I'm the Oversteer and new-lg4ff developer. Leillo took me here. ;) I can only add some little bits of information. It seems Windows has a better abstraction layer for wheels than Linux has, and SDL uses that. Linux is lacking in that aspect and SDL isn't filling the gaps. Most modern wheels use these axes on Linux: ABS_X: wheel rotation. ABS_Z: Accelerator. ABS_RZ: Brakes. ABS_Y: Clutch. ABS_HAT0X, ABS_HAT0Y: Cross. This could be a good default. Some older wheels use different axes. As for the...

  • Bernat Bernat committed [3c5f96]

    Fix overflow in short integer casting

  • Bernat Bernat created merge request #5

    Fix overflow in integer cast

  • Bernat Bernat committed [194af1]

    Fix avoid overflow in short integer casting

  • Bernat Bernat modified a comment on discussion Open Discussion

    Hi. I've found a bug in ffcfstress when reading the device position. In function update_device there's this code: /* Get events */ while (read(device_handle,&event,sizeof(event))==sizeof(event)) { if (event.type==EV_ABS && event.code==axis_code) { *position=((double)(((short)event.value)-axis_min))*2.0/(axis_max-axis_min)-1.0; if (*position>1.0) *position=1.0; else if (*position<-1.0) *position=-1.0; } } The event.value is cast to a signed short integer. The Logitech Driving Force G29 (and maybe...

  • Bernat Bernat posted a comment on discussion Open Discussion

    Hi. I've found a bug in ffcfstress when reading the device position. In function update_device there's this code: /* Get events */ while (read(device_handle,&event,sizeof(event))==sizeof(event)) { if (event.type==EV_ABS && event.code==axis_code) { *position=((double)(((short)event.value)-axis_min))*2.0/(axis_max-axis_min)-1.0; if (*position>1.0) *position=1.0; else if (*position<-1.0) *position=-1.0; } } The event.value is cast to a signed short integer. The Logitech Driving Force G29 and maybe others...

1