As usual this is neither for Mac nor is it for Windows…
Find your pointing device from a list with: xinput --list --short
List properties with: xinput --list-props <device_id_or_name>
Set the new value with:xinput --set-prop <ddevice_id_or_name> <property_id> <new_value>
For example: xinput --set-prop 10 289 1