zgintasz's picture

mouse and keyboard

I have a windows forms application with GLControl. I was trying to use some samples from documentation, but they doesn't work. How can I detect when key is pressed on keyboard and mouse?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dvdking's picture

I guess you should use form's events KeyDown and KeyUp. There are also many default mouse events

zgintasz's picture