added some kbm stuff

This commit is contained in:
qloak committed 2026-09-13 16:57:43 -07:00
1 parent 40d5709317
commit 3943ffd1f4
4 files changed
+77

No files matched your search

+6
View File
@@ -84,6 +84,12 @@ public:
int GetCharCount() const { return m_charCount; }
wchar_t GetChar(int index) const { return (index >= 0 && index < m_charCount) ? m_charBuffer[index] : 0; }
// System clipboard (UTF-16). Get returns chars copied excluding the
// terminator, 0 when unavailable. All input routing stays in the lib
// so future per-device (splitscreen KBM) plumbing has one place to land.
int GetClipboardText(wchar_t *outText, int outCapacity) const;
bool SetClipboardText(const wchar_t *text) const;
void SetMouseCaptured(bool captured);
void SetWindowFocused(bool focused);
bool IsMouseCaptured() const { return m_mouseCaptured; }