mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 20:19:17 +08:00
93752fb6cb
* Fix HotkeyControl virtual key display * A new interop project was setup to provide wrappers for C# projects that want to access functionality in the common project. * Add assembly info * Remove WIN32 configurations
21 lines
445 B
C++
21 lines
445 B
C++
#pragma once
|
|
#include <string>
|
|
#include <vector>
|
|
#include <memory>
|
|
#include <Windows.h>
|
|
|
|
class LayoutMap
|
|
{
|
|
public:
|
|
LayoutMap();
|
|
~LayoutMap();
|
|
void UpdateLayout();
|
|
std::wstring GetKeyName(DWORD key);
|
|
std::vector<DWORD> GetKeyCodeList(const bool isShortcut = false);
|
|
std::vector<std::wstring> GetKeyNameList(const bool isShortcut = false);
|
|
|
|
private:
|
|
class LayoutMapImpl;
|
|
LayoutMapImpl* impl;
|
|
};
|