mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-21 00:14:15 +08:00
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;
|
||
|
};
|