stop x:backspace simulating shift
This commit is contained in:
parent
08bf51c855
commit
22dd3a62ff
2 changed files with 2 additions and 3 deletions
1
keys.go
1
keys.go
|
@ -528,7 +528,6 @@ var xKeysShifted = map[string]int{
|
|||
"parenright": uinput.Key0,
|
||||
"underscore": uinput.KeyMinus,
|
||||
"plus": uinput.KeyEqual,
|
||||
"backspace": uinput.KeyBackspace,
|
||||
"iso_left_tab": uinput.KeyTab,
|
||||
"q": uinput.KeyQ,
|
||||
"w": uinput.KeyW,
|
||||
|
|
|
@ -36,7 +36,7 @@ echo 'var xKeysShifted = map[string]int{'
|
|||
{
|
||||
paste -d ' ' <(xmodmap -pke | sed '1 d; s/.*= /"/; /.*=/ d; s/\S* /"/; s/ .*/":/' | sed '/^"XF86Eject"/ { N; s/.*\n// }') \
|
||||
<(go doc uinput.keyesc | sed '/Key/ !d; s/^\s*/uinput./; s/ .*/,/' | align) | sed '/^"NoSymbol"/ d; /^\S*_[LR]"/ d' |
|
||||
# Remove duplicate keys
|
||||
sed '/^"KP_Decimal":.*Kpcomma/ d; /\<Key102Nd\>/ d'
|
||||
# Remove backspace and duplicate keys
|
||||
sed '/^"BackSpace"/ d; /^"KP_Decimal":.*Kpcomma/ d; /\<Key102Nd\>/ d'
|
||||
} | sed 's/^".*"/\L&/; s/^/\t/'
|
||||
echo '}'
|
||||
|
|
Loading…
Reference in a new issue