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

4
LINES

< > BotCompany Repo | #1019031 // simplifyKeyCode - equate KeyPad down and normal down key

JavaX fragment (include)

static int simplifyKeyCode(int code) {
  ret code == KeyEvent.VK_KP_DOWN ? KeyEvent.VK_DOWN
    : code;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019031
Snippet name: simplifyKeyCode - equate KeyPad down and normal down key
Eternal ID of this version: #1019031/1
Text MD5: 126dd268b031307beed739e073e446f7
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-21 15:18:19
Source code size: 108 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 272 / 312
Referenced in: [show references]