# Firing g4p events

**URL:** https://discourse.processing.org/t/firing-g4p-events/14496
**Category:** Libraries
**Created:** [October 7, 2019, 4:13pm UTC](https://discourse.processing.org/t/firing-g4p-events/14496 "2019-10-07T16:13:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jeppius](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jeppius](https://discourse.processing.org/u/jeppius)
#### Post date: [October 7, 2019, 4:13pm UTC](https://discourse.processing.org/t/firing-g4p-events/14496/1 "2019-10-07T16:13:25Z")

</div>

Hi there,  
I would like to fire a CLICKED and RELEASED g4p button event by pressing a certain key on the keyboard. That is, I would like the same visual feedback as if I had manually clicked the button with the mouse.  
Would that be possible?  
thanks,  
josep m

---

<div class="post-metadata">

### Author: ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)
#### Post date: [October 7, 2019, 4:31pm UTC](https://discourse.processing.org/t/firing-g4p-events/14496/2 "2019-10-07T16:31:44Z")

</div>

No.  
Sorry but G4P buttons only respond to mouse events.

---

<div class="post-metadata">

### Author: ![jeppius](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jeppius](https://discourse.processing.org/u/jeppius)
#### Post date: [October 7, 2019, 5:37pm UTC](https://discourse.processing.org/t/firing-g4p-events/14496/3 "2019-10-07T17:37:03Z")

</div>

Ok! I thought it could be possible to manually fire an event. Thanks anyway!  
josep
