mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-10 20:48:27 -04:00
Add ClangFormat exceptions
This commit is contained in:
parent
0b6eb3b30e
commit
3eb917055e
10 changed files with 37 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* Copyright (C) 2012 Felix Geyer <debfx@fobos.de>
|
||||
* Copyright (C) 2017 KeePassXC Team <team@keepassxc.org>
|
||||
*
|
||||
|
|
|
@ -173,6 +173,7 @@ void AutoTypePlatformWin::sendKey(Qt::Key key, bool isKeyDown)
|
|||
::SendInput(1, &in, sizeof(INPUT));
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
//
|
||||
// Translate qt key code to windows virtual key code
|
||||
// see: https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx
|
||||
|
@ -426,6 +427,7 @@ BOOL AutoTypePlatformWin::isExtendedKey(DWORD nativeKeyCode)
|
|||
return FALSE;
|
||||
}
|
||||
}
|
||||
// clang-format on
|
||||
|
||||
//
|
||||
// Translate qt key modifiers to windows modifiers
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
const int AutoTypePlatformX11::m_unicodeToKeysymLen = 632;
|
||||
|
||||
// clang-format off
|
||||
const uint AutoTypePlatformX11::m_unicodeToKeysymKeys[] = {
|
||||
0x0100, 0x0101, 0x0102, 0x0103, 0x0104, 0x0105, 0x0106, 0x0107,
|
||||
0x0108, 0x0109, 0x010a, 0x010b, 0x010c, 0x010d, 0x010e, 0x010f,
|
||||
|
@ -167,3 +168,4 @@ const uint AutoTypePlatformX11::m_unicodeToKeysymValues[] = {
|
|||
0x04ac, 0x04d4, 0x04ad, 0x04d5, 0x04ae, 0x04d6, 0x04d7, 0x04d8,
|
||||
0x04d9, 0x04da, 0x04db, 0x04dc, 0x04a6, 0x04dd, 0x04a5, 0x04b0
|
||||
};
|
||||
// clang-format on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue