aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/hid/hid_user.h
blob: 1d9929e67c04f09808c024426f850013d0b43d88 (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
29
// 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"

////////////////////////////////////////////////////////////////////////////////////////////////////
// Namespace HID_User

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

namespace HID_User {

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

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

} // namespace