mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-04-06 06:53:59 +00:00
Raw input has mouse buttons 4 and 5 as button 3 and 4 not side and extra.
This commit is contained in:
parent
083eee58ee
commit
10214031df
2 changed files with 19 additions and 2 deletions
|
|
@ -133,4 +133,21 @@ public abstract class Mouse extends AbstractController {
|
|||
public Component getBack() {
|
||||
return getComponent(Component.Identifier.Button.BACK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns forth mouse button, null if the mouse hasn't
|
||||
* got one.
|
||||
*/
|
||||
public Component getButton3() {
|
||||
return getComponent(Component.Identifier.Button._3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns fifth mouse button, null if the mouse hasn't
|
||||
* got one.
|
||||
*/
|
||||
public Component getButton4() {
|
||||
return getComponent(Component.Identifier.Button._4);
|
||||
}
|
||||
|
||||
} // class Mouse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue