mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 04:04:07 +02:00
Wire native OpenVR voice-typing POC with safe review and grip controls
This commit is contained in:
1 parent
73dc4fda06
commit
d60d8d2f5d
21 files changed
+1929
-29
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include <memory>
|
||||
#include <string>
|
||||
namespace frameyap {
|
||||
// Short-lived, exclusive IME lease acquired only for an explicit user action.
|
||||
// Construction checks protocol readiness without delivering input.
|
||||
class TextInput {
|
||||
public:
|
||||
explicit TextInput(const std::string& socket);
|
||||
~TextInput();
|
||||
TextInput(const TextInput&) = delete;
|
||||
TextInput& operator=(const TextInput&) = delete;
|
||||
void text(const std::string& literal);
|
||||
void enter();
|
||||
private:
|
||||
struct Impl;
|
||||
std::unique_ptr<Impl> impl_;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user