Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1019917 - mouseButtonMaskForRobot

JavaX fragment (include)

static int mouseButtonMaskForRobot(int button) {
  ret
    button == 1 ? InputEvent.BUTTON1_MASK :
    button == 2 ? InputEvent.BUTTON2_MASK :
    button == 3 ? InputEvent.BUTTON3_MASK : 0;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019917
Snippet name: mouseButtonMaskForRobot
Eternal ID of this version: #1019917/1
Text MD5: 6bfb453bec5923a853555f7e4f83ce0c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-30 22:38:49
Source code size: 196 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 153
Referenced in: [show references]

Formerly at http://tinybrain.de/1019917 & http://1019917.tinybrain.de