From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2f16ffc0fb70bec412eb8e9cdd6566a5@proxima.alt.za> To: 9fans@9fans.net Date: Fri, 20 Mar 2009 11:13:50 +0200 From: lucio@proxima.alt.za In-Reply-To: <49C34C55.5070607@orcasystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Raw Input Driver Topicbox-Message-UUID: bfe3cf78-ead4-11e9-9d60-3106f5b1d025 > struct InputEvent { > int msec; > unsigned short type; > unsigned short code; > int value; > }; I would use anonymous union to make it easy to differentiate between mouse and keyboard variables, rather than blend them. ++L