Re: key press events & holding keys down
- From: Stefan Skoglund <Stefan Skoglund agj net>
- To: gtk-app-devel-list gnome org
- Subject: Re: key press events & holding keys down
- Date: Tue, 20 Mar 2012 22:47:06 +0100
I deal with object state (direction of travel, phaser firing, speed,
acceleration/deceleration) thru a application framework triggered update
event which is broadcast to all physical objects (a in-space
minesweeping game.)
The broadcasted event includes data about for example :
1 the program-estimated (guestimate) about the state of the keyboard's
keys.
2 mouse state
The framework must pick up all the keyboard related X11 events including
focus-notify and key-press/key-release.
The update event is triggered by a time-out event.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]