Created
October 10, 2022 13:57
-
-
Save 4513ECHO/2843968ef60e88b486ecaab30df3cfe9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xkb_keymap { | |
xkb_keycodes { include "evdev+aliases(qwerty)" }; | |
xkb_types { include "complete" }; | |
xkb_compat { | |
include "complete+japan" | |
// Sticky keys | |
interpret Shift_L+Any { action = LatchMods(modifiers = modMapMods); }; | |
interpret Control_L+Any { action = LatchMods(modifiers = modMapMods); }; | |
interpret Alt_L+Any { action = LatchMods(modifiers = modMapMods); }; | |
interpret Super_L+Any { action = LatchMods(modifiers = modMapMods); }; | |
}; | |
xkb_symbols { | |
include "pc+jp+inet(evdev)+terminate(ctrl_alt_bksp)" | |
// Swap CapsLock and Control | |
replace key <CAPS> { [ Control_L, Control_L ] }; | |
replace key <LCTL> { [ Caps_Lock ] }; | |
// Adjust underscore | |
key <AB11> { [ underscore, underscore ] }; | |
}; | |
xkb_geometry { include "pc(pc105)" }; | |
}; | |
// vim:ft=xkb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment