Kiibohd Controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

capabilities.kll 1.6KB

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