Fixup regression for debug-mode keyboards using touch keys (hexadecimal format error)

This commit is contained in:
Marc Durdin 2017-10-11 12:11:25 +07:00
parent c319671f34
commit fecb11d1f8
2 changed files with 34 additions and 1 deletions

View file

@ -2233,7 +2233,7 @@ function TCompileKeymanWeb.FormatKeyAsString(key: Integer): string;
begin
if (key <= 255) and (KMWVKeyNames[key] <> '')
then Result := 'keyCodes.'+KMWVKeyNames[key]+ ' /* 0x' + IntToHex(key, 2) + ' */'
else Result := IntToHex(key, 2);
else Result := '0x' + IntToHex(key, 2);
end;
///

View file

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<KeymanDeveloperProjectUser>
<templatepath>file:///C:/Projects/keyman/open/windows/src/developer/TIKE/xml/project/</templatepath>
<stringspath>file:///C:/Projects/keyman/open/windows/src/developer/TIKE/xml/project/</stringspath>
<state></state>
<FileStates>
<FileState>
<ID>id_7aa90ee616d809ba35375f207edda587</ID>
<FullPath>C:\Projects\keyman\open\windows\src\test\web-chirality\test_nonchiral.kmn</FullPath>
<Debug>False</Debug>
</FileState>
<FileState>
<ID>id_65caa3e7a6673c665d87e82bfaa8a150</ID>
<FullPath>C:\Projects\keyman\open\windows\src\test\web-chirality\test_nonchiral_partial.kmn</FullPath>
<IDEState>
<LayoutDisplay102Key>0</LayoutDisplay102Key>
<DebugDefaultFont>1</DebugDefaultFont>
<DebugFont>Courier New|12| |0</DebugFont>
<CodeFont>Courier New|12| |0</CodeFont>
<CharFont>Courier New|12| |0</CharFont>
</IDEState>
<Debug>False</Debug>
</FileState>
</FileStates>
<MRU>
<File>
<ID>id_MRU0</ID>
<Filename>test_nonchiral_partial.kmn</Filename>
<FileType>.kmn</FileType>
<FullPath>C:\Projects\keyman\open\windows\src\test\web-chirality\test_nonchiral_partial.kmn</FullPath>
</File>
</MRU>
</KeymanDeveloperProjectUser>