Gtk3: debug for keypresses.

This commit is contained in:
zeljan1 2025-02-11 21:39:14 +01:00
parent 2feb873d51
commit 597fe6af9d

View File

@ -2170,6 +2170,11 @@ begin
// this is just for testing purposes.
ACharCode := GdkKeyToLCLKey(KeyValue);
{$IFDEF GTK3DEBUGKEYPRESS}
writeln('==== ACharCode=',ACharCode,' KeyValue=',KeyValue);
{$ENDIF}
if KeyValue > VK_UNDEFINED then
KeyValue := ACharCode; // VK_UNKNOWN;