forked from MrStahlfelge/Jamepad
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make using SDL 2.0.14 RawInput configurable on instantiation
- Loading branch information
1 parent
04c10dc
commit 237d630
Showing
2 changed files
with
33 additions
and
10 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/main/java/com/studiohartman/jamepad/Configuration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.studiohartman.jamepad; | ||
|
||
/** | ||
* Class defining the configuration of a {@link ControllerManager}. | ||
* | ||
* @author Benjamin Schulte | ||
*/ | ||
public class Configuration { | ||
/** | ||
* The max number of controllers the ControllerManager should deal with | ||
*/ | ||
public int maxNumControllers = 4; | ||
|
||
/** | ||
* Use RawInput implementation instead of XInput on Windows, if applicable. Enable this if you | ||
* need to use more than four XInput controllers at once. Comes with drawbacks. | ||
*/ | ||
public boolean useRawInput = false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters