aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/hid/hid_user.h
blob: baf7fed79f04a392d44a01d857f7639c5713c255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include "core/hle/service/service.h"

// This service is used for interfacing to physical user controls.
// Uses include game pad controls, touchscreen, accelerometers, gyroscopes, and debug pad.

namespace Service {
namespace HID {

/**
 * HID service interface.
 */
class HID_U_Interface : public Service::Interface {
public:
    HID_U_Interface();

    std::string GetPortName() const override {
        return "hid:USER";
    }
};

} // namespace HID
} // namespace Service