<span class="gmail_msg">Hello everyone, </span><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I would like to implement kinetic scroll in the libinput driver for Xorg.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I know that it's probably not the intended use of libinput ; as explained in the documentation, it's the client that have to manage that. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">However, as an Xorg user not happy with the synaptics driver, I would like to add a similar feature (fixing small disagreements encountered with synaptics) to libinput, allowing Xorg users to easily move to libinput without losing this feature. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">My first idea is to implement the kinetic scroll using a thread that sends axis events as long as there is no button event, key event or motion event higher than a threshold. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">It makes some time since the last time I developed in C, and maybe it's not the better way to do it. I would be happy to hear your advices. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">One thing I'm thinking of is then to add some options in the Xorg configuration file to enable/disable this feature, choose the events stopping the kinetic scroll and change some thresholds. This will allow to easily disable this feature in the future in case the clients manage the kinetic scroll on their own. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">What do you think of this? Is there someone already working on it? Is my proposition a good way to implement it? </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks for your attention. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Kind regards, </div><div class="gmail_msg">Alexis BRENON. </div>