mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-05 15:36:10 +00:00
fixed up gamepad mapping a bit. added options to invert and to act as a trigger
This commit is contained in:
@@ -23,6 +23,10 @@ public class GamepadMapping implements Serializable {
|
||||
return mapping.get(comp.getIdentifier().getName());
|
||||
}
|
||||
|
||||
public void removeMapping(Component comp) {
|
||||
mapping.remove(comp.getIdentifier().getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the mapping for the specified component.</br>
|
||||
* NOTE: Use sparingly takes O(N) time.
|
||||
|
||||
Reference in New Issue
Block a user