Little test that I made to figure out how use the Xinput extension of X11 with XCB.
Go to file
2023-03-27 21:38:16 -04:00
LICENSE Initial commit 2023-03-27 21:34:39 -04:00
makefile Upload files to '' 2023-03-27 21:35:13 -04:00
README.md Update 'README.md' 2023-03-27 21:38:16 -04:00
test.c Upload files to '' 2023-03-27 21:35:13 -04:00

XCB-Xinput-test

Little test that I made to figure out how use the Xinput extension of X11 with XCB. It creates a white window to receive touch events. With a touchscreen, tap on that window. Works with multiple simultaneous touches. However it is an early experiment and therefore this program only detect the touches, and does nothing more. The number appearing in stdout are the each's touch identifier.

To compile, just run make

Dependencies :

  • C99 + posix
  • libxcb
  • libxcb-xinput

Controls:

  • just screen touches