public class KeyboardRemapperAugmentation extends Object
- Shift=0, Control=0, Alt=0: No augmentation - Shift=1, Control=0, Alt=0: Shift - Shift=0, Control=1, Alt=0: Control - Shift=1, Control=1, Alt=0: Shift+Control - Shift=0, Control=0, Alt=1: Alt - Shift=1, Control=0, Alt=1: Shift+Alt - Shift=0, Control=1, Alt=1: Control+Alt - Shift=1, Control=1, Alt=1: Shift+Control+Alt
Constructor and Description |
---|
KeyboardRemapperAugmentation(int[] augmentations)
Creates a definition of the augmentation array.
|
KeyboardRemapperAugmentation(PhantomFile file)
Loads the definition of the augmentation array from the file.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getSendKeys()
Gets the send keys for all the augmentation keys assigned on a particular key.
|
int |
mapToSendKey(boolean isShift,
boolean isControl,
boolean isAlt)
Maps augmentation keys to a send key.
|
public KeyboardRemapperAugmentation(PhantomFile file) throws IOException
IOException
- when a file error occurs.public KeyboardRemapperAugmentation(int[] augmentations)
public int mapToSendKey(boolean isShift, boolean isControl, boolean isAlt)
public final int[] getSendKeys()
The augmentation keys table:
0 - Shift=0, Control=0, Alt=0: No augmentation 1 - Shift=1, Control=0, Alt=0: Shift 2 - Shift=0, Control=1, Alt=0: Control 3 - Shift=1, Control=1, Alt=0: Shift+Control 4 - Shift=0, Control=0, Alt=1: Alt 5 - Shift=1, Control=0, Alt=1: Shift+Alt 6 - Shift=0, Control=1, Alt=1: Control+Alt 7 - Shift=1, Control=1, Alt=1: Shift+Control+Alt
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.