Sample Header Ad - 728x90

xkb swap backslash and return: how to deal with shift?

0 votes
0 answers
210 views
I'm trying to swap Enter and Backslash key. I figured out how to swap them when Shift is not involved: key {[ backslash ]}; key {[ Return ]}; However, when shift is down, by pressing Enter I got "\", whereas I would like to have "|" there. And vice versa, by pressing Backslash I got "|", whereas I would like to have Enter (just as without shift). How to define keys for Shift? Any help would be greatly appreciated!
Asked by Maciek (3 rep)
Dec 13, 2022, 09:14 PM