How can I change pointer locations setting in developer options from adb shell? I need to be able to select and deselect "pointer locations" from the developer options menu using adb.  adb shell am start -n com.android.settings/.DevelopmentSettings, but once I'm there I can't figure out how to select and de-select pointer locations.

I tried just using shell keyevent 'xx' to move the focus, but it seems problematic and unreliable.  Is there a simple set of commands that will allow me to just jump to the selection?
To enable Pointer locations, the command is:

adb shell settings put system pointer_location 1


Change 1 to 0 to disable it.

Enter adb shell settings to understand its usage and what the aforesaid command is doing.