Reference

XCloseDevice(3) on Linux

The text 528f0859b542, as Debian 5.0 (Lenny) shipped it.

open or close an extension input device

XCloseDevice(3) on Linux now