mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-10 03:49:48 +01:00
git-svn-id: trunk@14459 -
This commit is contained in:
parent
d89463588c
commit
737514c434
@ -336,17 +336,35 @@ begin
|
||||
$35: Scancode := $95; // \
|
||||
$37: Scancode := $96; // *
|
||||
$47..$53: Scancode := CtrlKeypadKeys[Scancode];
|
||||
//Enter on Numpad
|
||||
$1C:
|
||||
begin
|
||||
Scancode := $0A;
|
||||
SpecialKey := False;
|
||||
end;
|
||||
end
|
||||
else if ShiftKey then
|
||||
case Scancode of
|
||||
// Function keys
|
||||
$3B..$44: inc(Scancode, $19);
|
||||
$57..$58: inc(Scancode, $30);
|
||||
//Enter on Numpad
|
||||
$1C:
|
||||
begin
|
||||
Scancode := $0D;
|
||||
SpecialKey := False;
|
||||
end;
|
||||
end
|
||||
else
|
||||
case Scancode of
|
||||
// Function keys
|
||||
$57..$58: inc(Scancode, $2E); // F11 and F12
|
||||
// Function keys
|
||||
$57..$58: inc(Scancode, $2E); // F11 and F12
|
||||
//Enter on NumPad
|
||||
$1C:
|
||||
begin
|
||||
Scancode := $0D;
|
||||
SpecialKey := False;
|
||||
end;
|
||||
end;
|
||||
RemapScanCode := ScanCode;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user