Little test that I made to figure out how use the Xinput extension of X11 with XCB.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fraawlen 256a56f28c fixed input duplication 1 年之前
LICENSE Initial commit 1 年之前
README.md Update 'README.md' 1 年之前
makefile Upload files to '' 1 年之前
test.c fixed input duplication 1 年之前

README.md

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 numbers appearing in stdout are each's touch identifier.

To compile, just run make

Dependencies :

  • C99 + posix
  • libxcb
  • libxcb-xinput

Controls:

  • just screen touches