InputEventSensor>>#processEvents ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

InputEventSensor>>#processEvents ...

philippeback
I was looking at the event processing since at Pharo Days, Andre Marquis wanted to add support in Pharo for the "menu" key present on Windows keyboard (doing a right click). Well, I managed to implement that but then, I started looking at that loop.

There is this:

Inline image 1

and the method is invoked in processEvent: for EventTypeMenu

So two things here:

1/ why is the code in red there? There is such global so it is never invoked. But still, if it was, the code would be called. So, do we still need that code and test (which is called very often as it is in the event loop).

2/ what are EventTypeMenu events?

TIA
Phil