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

12
LINES

< > BotCompany Repo | #1015209 // Make list of JNativeHook key codes (OK, -> jNativeHook_keyCodes)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 408K of libraries. Click here for Pure Java version (1338L/9K).

1  
!7
2  
3  
please include function jnativehook_init.
4  
5  
import org.jnativehook.keyboard.NativeKeyEvent;
6  
7  
p {
8  
  new Matches m;
9  
  for (S field : fieldNames(NativeKeyEvent.class))
10  
    if (startsWith(field, "VC_", m))
11  
      print(m.rest() + ": " + get(NativeKeyEvent, field));
12  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mbsocubsfpek, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015209
Snippet name: Make list of JNativeHook key codes (OK, -> jNativeHook_keyCodes)
Eternal ID of this version: #1015209/2
Text MD5: 7a99216935a75d737eb2c6a12d4ff08d
Transpilation MD5: bcee54c7183766cc4b19d4f0be454cf6
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 20:01:49
Source code size: 276 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 430 / 1014
Version history: 1 change(s)
Referenced in: [show references]