Reference

XCloseDevice(3) on Linux

The text ab1d3acf00e6, as Debian 4.0 (Etch) shipped it.

open or close an extension input device

XCloseDevice(3) on Linux now