mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 10:09:08 +02:00
Exposes in interface ConvertToLegacyKeyEvent.
This commit is contained in:
parent
d6384e01cb
commit
34b2fa27f5
@ -297,6 +297,9 @@ function PollEnhancedKeyEvent: TEnhancedKeyEvent;
|
||||
{ Checks if a keyevent is available, and returns it if one is found. If no
|
||||
event is pending, it returns 0 }
|
||||
|
||||
function ConvertToLegacyKeyEvent(const KeyEvent: TEnhancedKeyEvent): TKeyEvent;
|
||||
{ Converts to legacy key event as it is returned by GetKeyEvent or PollKeyEvent }
|
||||
|
||||
function ConvertEnhancedToLegacyShiftState(const ShiftState: TEnhancedShiftState): Byte;
|
||||
{ Converts an enhanced shift state (as in TEnhancedKeyEvent.ShiftState) to a
|
||||
legacy shift state (as returned by GetShiftState or GetKeyEventShiftState) }
|
||||
|
Loading…
Reference in New Issue
Block a user