2015-01-19 00:07:48 +01:00
|
|
|
// 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.
|
|
|
|
|
2015-02-27 03:13:08 +01:00
|
|
|
namespace Service {
|
|
|
|
namespace HID {
|
2015-05-25 20:34:09 +02:00
|
|
|
|
2015-01-19 00:07:48 +01:00
|
|
|
/**
|
|
|
|
* HID service interface.
|
|
|
|
*/
|
2015-02-27 03:13:08 +01:00
|
|
|
class HID_U_Interface : public Service::Interface {
|
2015-01-19 00:07:48 +01:00
|
|
|
public:
|
2015-02-27 03:13:08 +01:00
|
|
|
HID_U_Interface();
|
2015-01-19 00:07:48 +01:00
|
|
|
|
|
|
|
std::string GetPortName() const override {
|
|
|
|
return "hid:USER";
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2015-02-27 03:13:08 +01:00
|
|
|
} // namespace HID
|
|
|
|
} // namespace Service
|