mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
16 lines
378 B
C++
16 lines
378 B
C++
#pragma once
|
|
|
|
#include "input/InputProvider.h"
|
|
#include <emscripten/html5.h>
|
|
|
|
class CInputProviderEmscripten : public CInputProvider
|
|
{
|
|
public:
|
|
uint32 GetId() const override;
|
|
std::string GetTargetDescription(const BINDINGTARGET&) const override;
|
|
|
|
static BINDINGTARGET MakeBindingTarget(const EM_UTF8* code);
|
|
|
|
void OnKeyDown(const EM_UTF8*);
|
|
void OnKeyUp(const EM_UTF8*);
|
|
};
|