This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

touchscreen precision - input event

hi all,

in input.c file in linux kernel 3.2, there is a function add_input_randomness(type, code, value) used when data is post by touchscreen driver ti_tsc.c (exemple : input_report_abs(input_dev, ABS_PRESSURE, z).

Do you know what it used to ?

thanks

  • Hi Gaudichon,

    This question is a very narrowed one.

    My suggestion for you is
    1. To do a code walk through and understand what it does.

    Use code browser.

    It is defined in the following path.

    drivers/char/random.c

    "add_input_randomness()" uses the input layer interrupt timing as well as the event type information from the hardware.

    By the way, which TI processor you use?


    Regards,
    Shankari