[SOLVED] SEMICOLON is 59(java), 186(windows)

Feature Requests, Comments, Bugs, and Suggestions on the JIntellitype Java API.

[SOLVED] SEMICOLON is 59(java), 186(windows)

Postby Melloware » Tue Aug 10, 2010 5:08 pm

But these other keys aren't working because they're using the KeyEvent from java which have different numbers to the KeyEvent in windows...
http://download-llnw.oracle.com/javase/ ... alues.html

ie. semicolon is 59(java), 186(windows)


Yep I just tested it...

Code: Select all
private static final int SEMICOLON = 186;

JIntellitype.getInstance().registerHotKey(SEMICOLON, 0, SEMICOLON);


That worked for semicolon.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11020
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Return to JIntellitype

Who is online

Users browsing this forum: No registered users and 1 guest

cron