[ANN] libinput - OCaml bindings for Linux input devices

I’m pleased to announce the first release of libinput-ocaml (OCaml bindings for the libinput C library).

libinput is used by applications such as Wayland compositors to access mice, keyboards, touch pads, etc.

Linux input devices (with libinput-ocaml) explains how input devices work on Linux, and shows how to use the library to create a little game:

17 Likes

This is cool! I was thinking, not long ago, that it was nice for Python users that they had bindings like this (and to evdev), but didn’t want to code a small input-handling utility in Python. Thanks or your work!

1 Like