# Back/forward/extra mouse buttons

**URL:** https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515
**Category:** Coding Questions
**Created:** [October 16, 2018, 1:32am UTC](https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515 "2018-10-16T01:32:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lmccandless](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@lmccandless](https://discourse.processing.org/u/lmccandless)
#### Post date: [October 16, 2018, 1:32am UTC](https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515/1 "2018-10-16T01:32:53Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [October 24, 2018, 7:29pm UTC](https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515/2 "2018-10-24T19:29:24Z")

</div>

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:

- [https://github.com/processing/processing/blob/master/core/src/processing/event/](https://github.com/processing/processing/blob/master/core/src/processing/event/)

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

> <https://github.com/processing/processing/blob/master/core/src/processing/event/Event.java#L60-L69>

…for more on that, see:

- [https://docs.oracle.com/javase/7/docs/api/java/awt/event/package-summary.html](https://docs.oracle.com/javase/7/docs/api/java/awt/event/package-summary.html)
