mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
21 lines
463 B
C++
21 lines
463 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::pair<DWORD, std::wstring>> GetKeyNameList(const bool isShortcut = false);
|
|
|
|
private:
|
|
class LayoutMapImpl;
|
|
LayoutMapImpl* impl;
|
|
};
|