]> git.eshelyaron.com Git - emacs.git/commit
Additional changes to processing of Num Lock on Android
authorPo Lu <luangruo@yahoo.com>
Sun, 12 May 2024 07:46:38 +0000 (15:46 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 May 2024 15:49:39 +0000 (17:49 +0200)
commitea813f8203d59ecda90464aa24b1643be91b58ad
treef64e7663a35506785f3dbf729284a7ba1fc1af25
parent7dcd567712e35f1d5b1029697e61e8311c86f257
Additional changes to processing of Num Lock on Android

* java/org/gnu/emacs/EmacsView.java (onKeyDown, onKeyMultiple)
(onKeyDown): Disregard Num and Scroll Lock keys, and return
value of window functions to the system.

* java/org/gnu/emacs/EmacsWindow.java (eventModifiers): Return
normalized meta state, not only those bits the system considers
modifiers.
(onKeyDown, onKeyUp): Ignore numpad keys to which no base
characters are assigned, so that the system may generate the
proper action keys instead.

(cherry picked from commit ea98a6af2f30eccfed3e152149c6a039bd16ff33)
java/org/gnu/emacs/EmacsView.java
java/org/gnu/emacs/EmacsWindow.java