skrypton-api / com.waicool20.skrypton.enums / MouseButton

MouseButton

enum class MouseButton

Represents a mouse button, see here for more information.

Enum Values

NoButton

LeftButton

RightButton

MidButton

MiddleButton

BackButton

XButton1

ExtraButton1

ForwardButton

XButton2

ExtraButton2

TaskButton

ExtraButton3

ExtraButton4

ExtraButton5

ExtraButton6

ExtraButton7

ExtraButton8

ExtraButton9

ExtraButton10

ExtraButton11

ExtraButton12

ExtraButton13

ExtraButton14

ExtraButton15

ExtraButton16

ExtraButton17

ExtraButton18

ExtraButton19

ExtraButton20

ExtraButton21

ExtraButton22

ExtraButton23

ExtraButton24

AllButtons

MaxMouseButton

MouseButtonMask

Properties

value

val value: Long

A unique value assigned to the enum

Companion Object Functions

fromSikuliButtons

fun fromSikuliButtons(buttons: Int): Set<MouseButton>

Gets a set of MouseButton given a buttons mask formed from java.awt.event.MouseEvent.

getForValue

fun getForValue(value: Long): MouseButton

Finds a MouseButton with the given value.