hitrio.blogg.se

Remap keyboard keys using comman line
Remap keyboard keys using comman line













remap keyboard keys using comman line

To get a list of available USB scan codes use the dump command argument: ‘usbkey dump’. SCX syntax to specify key to change using USB code in hex can be used for setNoop, ResetNoop, SetKey2Mod and setPS2key. Quotes are only needed around arguments containing spaces. Says: key with USB scancode 0圎9 is mapped as ShiftKey (dont see this as Shifted Key, ‘ShiftKey’ is used here as indicator for keys that change the shift plane). The output of dump has been extended to show ModifiersKeys and Keys, that are not mapped to a PS2 key now are listed with there pointer. To map F4 to the Alt modifier key, use this: usbkey setKey2Mod 0 "F4" "Alt" To map F3 to the Caps modifier key, use this: usbkey setKey2Mod 0 "F3" "Caps" Since version 1.1, usbkey supports remapping of keys to point to ModifiersKeys: Will set the key with usb scancode 0x1e in plane 1 to produce a F1 In example: usbkey setPS2key 1 scx0x1E F1 You have to prefix the hex code by SCX (not case sensitive). You can use the usb hex code of a key to specify the OldKey. Will change key assigned to ‘1’ to produce a ‘2’ This will restore (unset) the NOOP flag for key “Left GUI” in plane 0.

remap keyboard keys using comman line

This will disable (NOOP = No Operation) of the 1 key in plane 0. PS2 keynames here are not case sensitive. This will set the NOOP flag for the matching PS/2 key “Left Gui”, which is the windows key. This will dump the actual shiftplanes into a file: \usbkey.txt a CK3 numPad has 3 shiftplanes (0 to 2), with this command you can restore the original layout of a shiftplane.

remap keyboard keys using comman line

Remap keyboard keys using comman line full#

Unfortunately not all possible assignments are available with this remapper tool, so I wrote a tool that gives you full control. You can remap keys of the keypad using the keby remapper tool from the Device Resource Kit. The ITC devices use a USB keyboard driver. A simple keyboard remapper command line tool for devices having a USB keypad (CN3, CK61, CV30, CK3).















Remap keyboard keys using comman line