comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: How to interface in ADA with Microsoft joystick?
Date: Tue, 5 Oct 2010 19:03:11 +0200
Date: 2010-10-05T19:03:10+02:00	[thread overview]
Message-ID: <1thnsl7r3l217.1g1mvpwzjokvr.dlg@40tude.net> (raw)
In-Reply-To: 0402e3f7-151c-4a51-bd61-44f4fc32a9d1@l20g2000yqm.googlegroups.com

On Tue, 5 Oct 2010 08:32:21 -0700 (PDT), tolkamp wrote:

> What is the next step to interface with the Microsoft Joystick?

Studying the MS documentation and examples on the subject:

http://msdn.microsoft.com/en-us/library/dd757121%28v=VS.85%29.aspx

You can either make the Windows MM system sending messages to a window and
process them in the messages loop (joySetCapture), or just poll the
joystick state from a tight loop in an Ada task (joyGetPosEx). 

P.S. This is not Ada specific, i.e. an off-topic here.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2010-10-05 17:03 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 15:07 How to interface in ADA with Microsoft joystick? tolkamp
2010-10-03 15:21 ` Dmitry A. Kazakov
2010-10-04 15:16   ` tolkamp
2010-10-04 16:18     ` Dmitry A. Kazakov
2010-10-04 17:54       ` tolkamp
2010-10-04 18:58         ` Dmitry A. Kazakov
2010-10-04 19:30           ` tolkamp
2010-10-04 19:46             ` tolkamp
2010-10-05  7:30               ` Dmitry A. Kazakov
2010-10-05 10:19                 ` tolkamp
2010-10-05 10:55                   ` AdaMagica
2010-10-05 12:21                   ` Dmitry A. Kazakov
2010-10-05 15:32                     ` tolkamp
2010-10-05 16:11                       ` Andre
2010-10-05 17:03                       ` Dmitry A. Kazakov [this message]
2010-10-08  8:48                         ` tolkamp
2010-10-08 20:00                           ` Dmitry A. Kazakov
2010-10-10 11:05                             ` tolkamp
2010-10-10 11:11                               ` Dmitry A. Kazakov
2010-10-11 20:24                                 ` tolkamp
2010-10-12  7:25                                   ` Dmitry A. Kazakov
2010-10-12  9:52                                     ` tolkamp
2010-10-12 11:25                                       ` tolkamp
2010-10-12 12:07                                       ` Dmitry A. Kazakov
2010-10-12 17:41                                         ` tolkamp
2010-10-12 20:10                                           ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox