Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.input.InputEventMouseButton Interface Reference

Static Public Attributes

static final int LEFT = 0
 
static final int RIGHT = 1
 
static final int MIDDLE = 2
 

Detailed Description

The values returned by the LWJGL input library for the mouse buttons.

The value of InputEvent will be set to one of these (0, 1, 2) or a larger number if its a different mouse button. These are simply provided for convenience, and are not strictly necessary.

Author
Alex Mosolov

Definition at line 13 of file InputEventMouseButton.java.

Member Data Documentation

◆ LEFT

final int com.fs.starfarer.api.input.InputEventMouseButton.LEFT = 0
static

Definition at line 15 of file InputEventMouseButton.java.

◆ MIDDLE

final int com.fs.starfarer.api.input.InputEventMouseButton.MIDDLE = 2
static

Definition at line 17 of file InputEventMouseButton.java.

◆ RIGHT

final int com.fs.starfarer.api.input.InputEventMouseButton.RIGHT = 1
static

Definition at line 16 of file InputEventMouseButton.java.


The documentation for this interface was generated from the following file: