Remove unused original-keycode
This commit is contained in:
parent
9cbb053d50
commit
8fefc8cee6
1 changed files with 18 additions and 19 deletions
|
@ -276,7 +276,6 @@
|
||||||
(and slot (vector-set! keys-for-frame slot key))))
|
(and slot (vector-set! keys-for-frame slot key))))
|
||||||
|
|
||||||
(define (press-key-aux keycode key)
|
(define (press-key-aux keycode key)
|
||||||
(let ((original-keycode (lookup key)))
|
|
||||||
;; Sometimes "keycodes" are procedures; in that case we call them with
|
;; Sometimes "keycodes" are procedures; in that case we call them with
|
||||||
;; true when the key is pressed and false when it's released.
|
;; true when the key is pressed and false when it's released.
|
||||||
(if (procedure? keycode)
|
(if (procedure? keycode)
|
||||||
|
@ -295,7 +294,7 @@
|
||||||
(press-modifier (+ sticky 1) key)
|
(press-modifier (+ sticky 1) key)
|
||||||
(release-sticky-modifier (+ sticky 1)))
|
(release-sticky-modifier (+ sticky 1)))
|
||||||
#f)
|
#f)
|
||||||
(press-normal-key keycode key))))))
|
(press-normal-key keycode key)))))
|
||||||
|
|
||||||
|
|
||||||
;; Record a key press in the modifiers/keycodes-down vectors for the layout.
|
;; Record a key press in the modifiers/keycodes-down vectors for the layout.
|
||||||
|
|
Loading…
Reference in a new issue