2014-09-14 22:51:36 +00:00
|
|
|
Name = PartialMapCapabilities;
|
2016-08-09 15:53:10 +00:00
|
|
|
Version = 0.4;
|
2016-05-09 01:50:28 +00:00
|
|
|
Author = "HaaTa (Jacob Alexander) 2014-2016";
|
|
|
|
KLL = 0.3d;
|
2014-09-14 22:51:36 +00:00
|
|
|
|
|
|
|
# Modified Date
|
2016-08-09 15:53:10 +00:00
|
|
|
Date = 2016-08-06;
|
2014-09-14 22:51:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Capabilties available to the PartialMap module
|
2015-09-29 02:58:39 +00:00
|
|
|
layerState => Macro_layerState_capability( layer : 2, state : 1 );
|
|
|
|
layerLatch => Macro_layerLatch_capability( layer : 2 );
|
|
|
|
layerLock => Macro_layerLock_capability( layer : 2 );
|
|
|
|
layerShift => Macro_layerShift_capability( layer : 2 );
|
|
|
|
# By default, rotate to the next layer
|
|
|
|
# The current rotating layer is stored separately to the layer stack
|
|
|
|
# But still sets the layer stack using the layerLock/unlock mechanism
|
|
|
|
# Argument 0 -> Next, 1 -> Previous
|
|
|
|
layerRotate => Macro_layerRotate_capability( previous : 1 );
|
2014-09-14 22:51:36 +00:00
|
|
|
|
2014-11-21 22:58:50 +00:00
|
|
|
# Defines available to the PartialMap module
|
|
|
|
stateWordSize => StateWordSize_define;
|
|
|
|
stateWordSize = 8; # Default for now, increase to 16 or 32 for higher limits
|
|
|
|
|
2016-05-09 01:50:28 +00:00
|
|
|
indexWordSize => IndexWordSize_define;
|
|
|
|
indexWordSize = 16; # Default for now, increase to 32 for higher limits (8 for less resource usage)
|
|
|
|
|
2016-08-09 15:53:10 +00:00
|
|
|
# Block Key Capability
|
|
|
|
# Add this capability as a combo to any key you want to explicitly block another
|
|
|
|
# For example:
|
|
|
|
# To turn Shift+1 into q
|
|
|
|
# U"Shift" + U"1" : U"Q" + blockKey( 0xE1 ) + blockKey( 0x1E );
|
|
|
|
#
|
|
|
|
# 0xE1 - Left Shift (0xE5 is Right Shift)
|
|
|
|
# 0x1E - 1
|
|
|
|
#
|
|
|
|
# NOTE: KLL is limited to using numbers for key blocking instead of the symbolic names
|
|
|
|
# A future version of KLL will address this
|
|
|
|
blockKey => Macro_blockUSBKey_capability( usbCode : 1 );
|
|
|
|
|
|
|
|
# This defines the maximum number of keys that can be blocked in a single processing loop
|
|
|
|
maxBlockCount => Macro_maxBlockCount_define;
|
|
|
|
maxBlockCount = 4;
|
|
|
|
|