User Input#
Both models of the reMarkable tablet have three human interface devices. The wacom digitizer for pen input, a multitouch layer, and button input. Both devices can also support keyboard input, while only the reMarkable 2 supports the folio for keyboard input.
All of these devices are exposed through the Linux Input Subsystem userspace API.
Most programming languages already have libraries for dealing with input using this interface. Frameworks like Qt also already have built in handling of input.
Here is a small list of libraries you can use for handling input: