Open r3zn opened 6 years ago
You can do this with modmap
but you need to map Muhenkan to one of the KNOWN modifiers first... currently we do not allow "arbitrary" modifiers... Then you'd just do this using a keymap:
# psuedo code
modmap {
MUHENKAN: RCtrl
}
keymap {
K("RCtrl-H"): K("left")
}
Otherwise you'd need to edit key#Modifier
such that the Muhenkan key was seen as a REAL modifier.
currently we do not allow "arbitrary" modifiers...
My new fork now allows arbitrary modifiers... though you may still need to make sure your software you're using actually allows them as well, since usually that is the problem, not the keymapper.
I want to use muhenkan key as an extra modifier key like this:
muhenkan
+ (h
j
k
l
) ->left
down
up
right
Shift
+muhenkan
+ (h
j
k
l
) ->Shift
+ (left
down
up
right
)C
+muhenkan
+ (h
j
k
l
) ->C
+ (left
down
up
right
)M
+muhenkan
+ (h
j
k
l
) ->M
+ (left
down
up
right
)Super
+muhenkan
+ (h
j
k
l
) ->Super
+ (left
down
up
right
)It is impossible to write
K("Muhenkan-h"): K("left")
. But ifdefine_modmap()
receives a condition, the demand is satisfied.For example (pseudo code):
:)