<p dir="ltr">Hi, my name is Jeff. <br>
I am not sure if I am suppose to post here, but the main page said discussions can be posted here.<br>
I am currently 17 and am working on a little project. My program would like to interact with libinput and configure device options.</p>
<p dir="ltr">However, my programming skills are still very basic and I found the documentation for libinput very hard to find a starting point.<br>
I would make a struct libinput and would not know how to initialize it. The same applied to libinput_device, libinput_context and libinput_interface; libinput_interface only says<br>
"libinput does not open file descriptors to devices directly, instead<a href="https://wayland.freedesktop.org/libinput/doc/latest/structlibinput__interface.html#ae445aaa330e4eb7df6650fbc6428022a">open_restricted()</a> and <a href="https://wayland.freedesktop.org/libinput/doc/latest/structlibinput__interface.html#af78e15d6a06bc928d8679b587bb4e8fa">close_restricted()</a>are called for each path that must be opened."</p>
<p dir="ltr">void *user_data also seemed very vague.</p>
<p dir="ltr">I was wondering if anyone can point me in the general direction that can get me started.</p>
<p dir="ltr">Thank you. </p>