|
|
@ -2715,16 +2715,13 @@ kmap(KeySym k, uint state) { |
|
|
|
|
|
|
|
|
|
|
|
/* Check for mapped keys out of X11 function keys. */ |
|
|
|
/* Check for mapped keys out of X11 function keys. */ |
|
|
|
for(i = 0; i < LEN(mappedkeys); i++) { |
|
|
|
for(i = 0; i < LEN(mappedkeys); i++) { |
|
|
|
if(mappedkeys[i] == k) { |
|
|
|
if(mappedkeys[i] == k) |
|
|
|
fprintf(stderr, "mapped function key.\n"); |
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if(i == LEN(mappedkeys)) { |
|
|
|
if(i == LEN(mappedkeys)) { |
|
|
|
if((k & 0xFFFF) < 0xFF00) |
|
|
|
if((k & 0xFFFF) < 0xFF00) |
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
fprintf(stderr, "Function key.\n"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(kp = key; kp < key + LEN(key); kp++) { |
|
|
|
for(kp = key; kp < key + LEN(key); kp++) { |
|
|
|
mask = kp->mask; |
|
|
|
mask = kp->mask; |
|
|
|