ButtonMapping Constructor (Int32)
From PPJoy
| PPJoy Wrapper Library reference library |
| ButtonMapping Constructor (Int32) |
| ButtonMapping Class See Also |
Creates a new ButtonMapping object.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ controlNumber As Integer _ ) |
| C# |
|---|
public ButtonMapping( int controlNumber ) |
| Visual C++ |
|---|
public: ButtonMapping( int controlNumber ) |
Parameters
- controlNumber
- Type: System..::.Int32
The zero-based index of this ButtonMapping in the collection of ButtonMappings defined on the same PPJoy Device. For example, the first ButtonMapping in the collection will have a controlNumber of 0, the second ButtonMapping will have a controlNumber of 1, and so forth.