Beauty
11-02-2010 23:49:59
Hi,
today I made my first try with MOIS to capture inputs of a gamepad.
Unfortunately it didn't work. Maybe I made something wrong.
Then I searched for an alternative input system.
So I found SlimDX.
In short words:
A practial library for easy access for input of keyboards, mice and gamepads. (It also can do more than input.)
The MIT licence allows the use even in commercial projects. (I think so. If I'm wrong, please correct me.)
There are several tutorials in the Developer SDK.
A tutorial related to gamepads you find in this directory:
...\SlimDX SDK (August 2009)\Samples\DirectInput\Joystick
It checks the states of all connected gamepads and show them in a GUI.
By using this easy code I can get gamepad inputs in my application (-:
Download here:
http://slimdx.org/download.php
Maybe somebody needs it. So I just wanted to let you know.
today I made my first try with MOIS to capture inputs of a gamepad.
Unfortunately it didn't work. Maybe I made something wrong.
Then I searched for an alternative input system.
So I found SlimDX.
What is SlimDX?
SlimDX is a free open source framework that enables developers to easily build DirectX applications using .NET technologies such as C#, VB.NET, and !IronPython. It is designed to be an efficient, simple, and lean wrapper that fully encompasses all of Microsoft's gaming and multimedia technologies and exposes them to managed code. All of the code is under the MIT/X11 license, and all content is under the Creative Commons Attribution-Share Alike license.
In short words:
A practial library for easy access for input of keyboards, mice and gamepads. (It also can do more than input.)
The MIT licence allows the use even in commercial projects. (I think so. If I'm wrong, please correct me.)
There are several tutorials in the Developer SDK.
A tutorial related to gamepads you find in this directory:
...\SlimDX SDK (August 2009)\Samples\DirectInput\Joystick
It checks the states of all connected gamepads and show them in a GUI.
By using this easy code I can get gamepad inputs in my application (-:
Download here:
http://slimdx.org/download.php
Maybe somebody needs it. So I just wanted to let you know.