summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2023-12-03 11:07:23 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2023-12-06 15:51:42 +0100
commit9e8df5bfe804943a8662b52ff2afed936b79657d (patch)
treebefcc382afc0f30ea3e663c002e13b262d7d65b3 /offapi
parent5de53775531a358c6775d265a3a19699c96a8139 (diff)
tdf#148986 Support XF86Forward / XF86Back key events
Multimedia keys found on certain presentation clicker devices. Not added to the Customize dialog, as that was not yet asked for. As I have no access to a MAC, did not add support for that in vcl. Inspiration for code taken from commit ca74511985981444dbd72ade7244484c131e36a7 Change-Id: I417e6ba7e79c5f6e774a56ba747803a156d5f50f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160255 Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/awt/Key.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/Key.idl b/offapi/com/sun/star/awt/Key.idl
index d9f45257ce8c..b07ff78dab54 100644
--- a/offapi/com/sun/star/awt/Key.idl
+++ b/offapi/com/sun/star/awt/Key.idl
@@ -375,6 +375,12 @@ published constants Key
/* # sign. @since LibreOffice 24.2 */
const short NUMBERSIGN = 191;
+ /* XF86Forward @since LibreOffice 24.2 */
+ const short XF86FORWARD = 167;
+
+ /* XF86Back @since LibreOffice 24.2 */
+ const short XF86BACK = 166;
+
/** 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