Guest User

macro pad yaml

a guest
Aug 9th, 2024
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. # Normal keyboard orienation is when buttons are on the left
  2. # side and knobs are on the right. However, you may want to use
  3. # the keyboard in another orienation. To avoid remapping button
  4. # positions in your head, just set it here.
  5. # Possible values are:
  6. # (horizontal)
  7. # - 'normal': buttons on the left, knobs on the right
  8. # - 'upsidedown': buttons on the right, knobs on the left
  9. # (vertical)
  10. # - 'clockwise': buttons on the top, knobs on the bottom
  11. # - 'counterclockwise': buttons on the bottom, knobs on the top
  12. orientation: normal
  13.  
  14. # There are different models of keyboard with different numbers
  15. # of buttons and knobs. Set it here for proper handling.
  16. # Count rows and columns with the keyboard in normal orienation,
  17. # with knobs on the right side.
  18. rows: 2
  19. columns: 3
  20. knobs: 1
  21.  
  22. # Layers are sets of alternative key mappings.
  23. # The current layer is changed using a button on the side of the keyboard
  24. # and displayed with LEDs on top (only for the moment of changing).
  25. # All keyboards I saw had three layers, but I suppose other variants
  26. # exist.
  27. layers:
  28. - buttons:
  29. # Array of buttons. In horizontal orienations it's `rows` rows
  30. # `columns` buttons each. In vertical: `columns` rows
  31. # `rows` buttons each.
  32. # Each entry is either a sequence of 'chords' or a mouse event.
  33. # A chord is a combination of one key with optional modifiers,
  34. # like 'b', 'ctrl-alt-a' or 'win-rctrl-backspace'. It can also
  35. # be just modifiers without a key: 'ctrl-alt'.
  36. # You may combine up to 5 chords into a sequence using commas: 'ctrl-v,ctrl-c'.
  37. # Arbitrary scan codes (decimal) may be given like this: '<101>'.
  38.  
  39. #below is command to push yaml to board
  40. # Get-Content your-config.yaml | ./ch57x-keyboard-tool validate/upload~aaaaaAAA
  41. - ["f13", "f14", "f15"]
  42. - ["1", "2", "3"]
  43. #- ["<100>", "j", "k", "l"]
  44. knobs:
  45. # Knobs are listed from left to right if horizontal
  46. # and from top to bottom if vertical.
  47. # Knobs can be rotated counter-clockwise (ccw) or clockwise (cw)
  48. # and pressed down.
  49. - ccw: 'volumedown'
  50. press: 'f19'
  51. cw: 'volumeup'
  52. # - ccw: 'shift-wheelup'
  53. # press: 'shift-click'
  54. # cw: 'shift-wheeldown'
Advertisement
Add Comment
Please, Sign In to add comment