This app uses SDL, which in turn uses HIDAPI. Both on Github. The key here might be the comprehensive mapping database, which is also used by the Steam Client.
Super Cool! Thank you so much for your sharing & hint!