Opened 11 years ago

Closed 11 years ago

#16 closed enhancement (wontfix)

Add key pressed to EventMotion constructor

Reported by: Ben Lambert Owned by:
Priority: normal Milestone:
Component: API Version: 1.3.0
Keywords: Cc:

Description

Currently the EventMotion? user event only contains current location of the cursor in the window, should probably also contain which button is being pressed to trigger the EventMotion?.

Change History (1)

comment:1 Changed 11 years ago by Ben Lippmeier

Resolution: wontfix
Status: newclosed

This would be nice to provide, but GLUT doesn't tell us if the modifier keys change while the user is dragging. We could remember what modifers were pressed when the drag started, and return this information every time, but if any were released while dragging we'd be returning misleading information. It also seems possible to change what mouse button is being held while dragging, and GLUT doesn't report that either. I'm setting this as wontfix because GLUT doesn't give us enough information for it.

Note: See TracTickets for help on using tickets.