Using xinput to discover the XID of the pointer device is not particularly user friendly. It might be desirable to allow xrestrict to affect all pointer devices with "Abs X" and "Abs Y" axes. This would not affect mice nor touchpads in their default configuration.