Re: BUG: Joydev - Broken line compensation does not work for small range inputs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



simon@xxxxxxxxxxxxx wrote:

>> With a little more digging on this I think the issue is down to the
>> default calibration values.
>
>I have further confirmation that this is due to the calibration used
>when
>the dial is presented via the joystick interface. The values in the
>event
>interface are correct.
>
>See 'joydev_correct()' from 'driver/input/joydev.c'
>
>The problem is that the 'broken line' calibration can not properly
>represent/process a value with a small range - I guess this does not
>matter when there is a large input range.
>
>In my system I have a dial (RZ) with 4 positions (0..3):
>      expect to see -32768, -10922, +10922, +32768
Hi Simon,

I think you should simply use evdev, joydev is legacy interface useful for real joysticks.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux