Back to project page BluetoothHidEmu.
The source code is released under:
Apache License
If you think the Android project BluetoothHidEmu listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package andraus.bluetoothhidemu.sock.payload; /* w w w . jav a 2s . com*/ /** * Class to represent a "hid key" in terms of a (modifier, hid_code) pair. */ public class HidKeyPair { public static final char ENTER = '\n'; public static final char DEL = '\b'; public static final char QUOTE ='\''; public static final char DB_QUOTE = '\"'; public static final char INV_BACKSLASH = '\\'; private int code; private int mod; public HidKeyPair(int code, int mod) { this.code = code; this.mod = mod; } public int getCode() { return code; } public int getMod() { return mod; } }