Skip to content

Commit

Permalink
any_keycode: remove completed todo
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzz committed Jun 4, 2024
1 parent a9897af commit 5cadf49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/python/any_keycode.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def RCS(kc): return (r("QK_RCTL") | r("QK_RSFT") | (kc))
def LCG(kc): return (r("QK_LCTL") | r("QK_LGUI") | (kc))
def RCG(kc): return (r("QK_RCTL") | r("QK_RGUI") | (kc))

# TODO: make sure bit packing is the same in new fw
def LT(layer, kc): return (r("QK_LAYER_TAP") | (((layer)&0xF) << 8) | ((kc)&0xFF))
def TO(layer): return (r("QK_TO") | (r("ON_PRESS") << 0x4) | ((layer)&0xFF))
def MO(layer): return (r("QK_MOMENTARY") | ((layer)&0xFF))
Expand Down

0 comments on commit 5cadf49

Please sign in to comment.