kbdfs: ignore first 16 scancodes (number row) in kbtabctl[] for control key reverse mapping
This commit is contained in:
parent
36abc45f28
commit
c4dd0f6282
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ Nextmsg:
|
|||
k.b = 0;
|
||||
k.down = (p[0] == 'r');
|
||||
for(i=0; i<Nscan; i++){
|
||||
if(kbtab[i] == k.r || kbtabshift[i] == k.r || kbtabctl[i] == k.r){
|
||||
if(kbtab[i] == k.r || kbtabshift[i] == k.r || (i >= 16 && kbtabctl[i] == k.r)){
|
||||
/* assign button from kbtab */
|
||||
k.b = kbtab[i];
|
||||
/* handle ^X forms */
|
||||
|
|
Loading…
Reference in a new issue