Back/forward/extra mouse buttons

Trying to use the back/forward buttons on the side of my mouse, it doesn’t show up with mousePressed, key, or keyCode. Is this broken out anywhere?

It depends on what your specific mouse model is and if it has system settings how its output is mapped.

On the Processing side, this is broken down in the event package:

If you are on the desktop specifically then Processing uses java.awt.Event … except with P2D / P3D…

…for more on that, see: