summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorGökay Şatır <gokaysatir@collabora.com>2023-10-04 15:01:38 +0300
committerGökay ŞATIR <gokaysatir@collabora.com>2023-10-05 10:07:29 +0200
commit1db8f6d484b884301a7d3673f4d05478e28cd853 (patch)
treef505aede1fd0b7f52d70e2dac0430e413c71f116 /offapi
parentf1bf753e52e1c1150de96ca3073cbaef76f10b50 (diff)
Add NUMBERSIGN key handler.
German keyboard layout has number sign key. Users can print number sign without using modification keys. So this key can be assigned a shortcut. Subscript is assigned to CTRL + NUMBERSIGN. Below PR is used as reference when adding the new key handler: https://gerrit.libreoffice.org/c/core/+/86713 Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I340dc47764e9200d2477f8db740a629f62f48004 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157554 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/awt/Key.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/Key.idl b/offapi/com/sun/star/awt/Key.idl
index 6b19dada574d..d9f45257ce8c 100644
--- a/offapi/com/sun/star/awt/Key.idl
+++ b/offapi/com/sun/star/awt/Key.idl
@@ -372,6 +372,9 @@ published constants Key
/** @since LibreOffice 7.6 **/
const short COLON = 1320;
+ /* # sign. @since LibreOffice 24.2 */
+ const short NUMBERSIGN = 191;
+
/** The following values don't correspond to physical keys on any
keyboard but are used in the macOS implementation of VCL. They
correspond to some of the action messages of the NSResponder