O'Reilly logo

3D Game Development with Microsoft Silverlight 3 Beginner's Guide by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bridging with DirectInput capabilities

So far, we have been mapping a gamepad and other gaming input devices to keyboard's keys and the mouse pointer. Our keyboard and mouse managers allowed us to take the inputs provided by these devices. Thus, we were able to use just their most essential features. However, we could not take full advantage of them. Silverlight does not allow us to access DirectX. However, we can change some security settings to allow an XBAP WPF application to use DirectInput and take full advantage of exciting input gaming devices, such as steering wheels. How can we interact with DirectInput in order to control these gaming input devices?

Tip

In order to communicate with DirectX in an XBAP WPF application, we must change some ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required