The macro "Anc" for "Minecraft" can be downloaded and used on regular mouse and keyboard. Installing the macro is in the Keyran program and increases your skill level in Minecraft, if you follow the instructions!
This macro uses anchors to navigate to the totem. Here is the procedure: I use 3 anchor slots, 4 lightstone slots, and 6 totem slots. My bindings are: 3 slot - Q, 4 slot - E, 6 slot - side mouse button (button 4).