Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.49 KB

File metadata and controls

52 lines (39 loc) · 1.49 KB

CtrlAltTab

image

The tool remaps some windows shortcuts. Simple replacement for powertoys keyboard manager

* only shortcuts because single key remap is much better via Scancode Map or SharpKeys

  • swaps Alt-Tab vs Ctrl-Tab, supports multi tab switch. * Could be useful is you swap Ctrl<=>Alt
  • Ctrl+\[ / ], to Ctrl+PageUp / PageDown
  • Caps to Ctrl+Shift # Language switch
  • Win+Shift+F23 to home # lenovo AI key. Good is right ctrl is mapped to End
  • Screen-On functionality
  • tray menu
  • saves settings in registry HKEY_CURRENT_USER\SOFTWARE\CtrlAltDel
  • autorun switch
  • experimental remap Caps+IJKL

preparation

I prefer to remap single keys via windows registry value Scancode Map, that is why I use ctrlalttab with the following regedit:

alt <=> ctrl
rctrl => end
ralt => home
rmenu => home
home => print screen (maybe will remove)

amend it for your own needs or use SharpKeys for the same needs

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /t REG_BINARY /d 0000000000000000070000001D00380038001D004FE01DE047E038E047E05DE037E047E000000000

final layout

image

requirements

build

nimble build -d:release -d:strip --opt:size --app:gui

or using zig cc (to avoid win defender)

nimble build --cc:clang --clang.exe="zigcc.cmd" --clang.linkerexe="zigcc.cmd" -d:release -d:strip --opt:size --app:gui