JetBrains / JetBrainsRuntime

Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
GNU General Public License v2.0
1.26k stars 192 forks source link

JBR-6588: Add JBR API for inspecting certain properties of KeyEvents #356

Closed tsarn closed 4 months ago

tsarn commented 4 months ago

This adds a JBR API called Keyboard, which for now only contains one function that allows the user to inspect additional properties set in the KeyEvent. This allows to get rid of certain heuristics on client side, like the detection of dead keys. Currently these properties are only set on macOS.

tsarn commented 4 months ago

Fixed the PR to be against jbr21

tsarn commented 4 months ago

I will probably close this for now, and wait for JBR API v3