1 | static int mouseButtonMaskForRobot(int button) { |
2 | ret |
3 | button == 1 ? InputEvent.BUTTON1_MASK : |
4 | button == 2 ? InputEvent.BUTTON2_MASK : |
5 | button == 3 ? InputEvent.BUTTON3_MASK : 0; |
6 | } |
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: | 336 / 377 |
Referenced in: | [show references] |