libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
hid.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include<libtransistor/cpp/types.hpp>
9 #include<expected.hpp>
10 
11 namespace trn {
12 namespace service {
13 
14 class HID {
15  public:
16  static Result<HID> Initialize();
17  HID(const HID& other);
18  HID(HID&& other);
19 
20  ~HID();
21 
22  Result<KSharedMemory> GetSharedMemory();
23 
24  private:
25  HID(); // use HID::Initialize
26 };
27 
28 }
29 }
Definition: hid.hpp:14