mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
30
src/app/mac/MacClient.h
Normal file
30
src/app/mac/MacClient.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef APP_MAC_MAC_CLIENT_H
|
||||
#define APP_MAC_MAC_CLIENT_H
|
||||
|
||||
#include "event/Event.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class MacClient {
|
||||
public:
|
||||
enum ClipboardAction {
|
||||
ClipboardUndo = 1,
|
||||
ClipboardCut = 2,
|
||||
ClipboardCopy = 3,
|
||||
ClipboardPaste = 4,
|
||||
ClipboardSelectAll = 5
|
||||
};
|
||||
|
||||
static void* s_currentKeyboardLayout;
|
||||
static KEY s_specialKeyConversion[128];
|
||||
static KEY s_keyConversion[128];
|
||||
|
||||
static void CheckKeyboardLayout(void);
|
||||
static double GetMouseSpeed(void);
|
||||
static bool GetTextInputEnabled(void);
|
||||
static void InitializeKeyConversion(void);
|
||||
static bool IsUsingGLLayer(void);
|
||||
static void PostClipboardKeyEvents(MacClient::ClipboardAction);
|
||||
static void SetMouseCoalescingEnabled(bool);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue