⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 Directx游戏制作开发包DGCBETA6
💻 TXT
字号:
 Joystick Demo - Jeff Kurtz
 ---------------------------------------------------------------------------
 This example shows how to use the Joystick component -- Read the DOC file
 for all the properties, methods, and events.

 This is a rather simple example. On the main form are 9 blue panels, these
 represent the 9 positions of a digital joystick. There are 4 red panels,
 these represent the 4 buttons.

 There is also 1 larger panel with a label on it with '+' in it. This panel
 is used for the Analog test screen. When digital mode is selected, this
 panel will be hidden, when Analog mode is set, this panel will be visible.

 The START button will start capturing the joystick messages and the STOP
 button will stop.

 The MODE buttons allow you to set either digital or analog mode

 The NOTIFY check tells the component to only send a message when the
 joystick has been changed (movement or buttons). If this is unchecked,
 a constant polling will occur sending messages to the OnXXX events at a
 set interval.

 This interval is specified by the Polling trackbar. This is the number of
 milliseconds between notifications -- kind of like a speed setting ???

 The Thresh trackbar is the Threshold setting. This value indicates the
 distance the joystick must move before a notifcation is sent.

 The code for this demo is long but most of it deals with enabling/disabling
 options and controlling the color of the panels.

 The joystick is not that complicated, once you play with it a couple times.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -