key diags

This commit is contained in:
April Ayres-Griffiths 2019-04-15 23:40:23 +10:00
parent fbce284a71
commit 0a6293f48a
2 changed files with 12 additions and 2 deletions

View File

@ -2809,6 +2809,8 @@ var
isMeta: boolean;
isSuper: boolean;
isHyper: boolean;
isExtra1: boolean;
isExtra2: boolean;
s: string;
begin
@ -2819,6 +2821,8 @@ begin
isMeta := (ssMeta in Shift);
isSuper := (ssSuper in Shift);
isHyper := (ssHyper in Shift);
isExtra1 := (ssExtra1 in Shift);
isExtra2 := (ssExtra2 in Shift);
keydesc := '';
@ -2834,6 +2838,12 @@ begin
if isHyper then
keydesc := 'Hyper';
if isExtra1 then
keydesc := 'Extra1'
if isExtra2 then
keydesc := 'Extra2'
if isAlt then
begin
result := OPEN_APPLE;

View File

@ -2839,10 +2839,10 @@ begin
keydesc := 'Hyper';
if isExtra1 then
keydesc := 'Extra1'
keydesc := 'Extra1';
if isExtra2 then
keydesc := 'Extra2'
keydesc := 'Extra2';
if isAlt then
begin