I have added a link to the Github page of the input "librairy"
https://github.com/Mavireck/Kobo-Input-Python
I am not sure I wil do any modification in the future (except perhaps including the debounce function inside the librairy). And I have no other device to fix it on specific devices. But I guess everyone will be able to fix it on their own.