git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
29 lines
391 B
C++
29 lines
391 B
C++
#ifndef GAINPUTDEVPROTOCOL_H_
|
|
#define GAINPUTDEVPROTOCOL_H_
|
|
|
|
namespace gainput
|
|
{
|
|
|
|
enum DevCmd
|
|
{
|
|
DevCmdHello,
|
|
DevCmdDevice,
|
|
DevCmdDeviceButton,
|
|
DevCmdMap,
|
|
DevCmdRemoveMap,
|
|
DevCmdUserButton,
|
|
DevCmdRemoveUserButton,
|
|
DevCmdPing,
|
|
DevCmdUserButtonChanged,
|
|
DevCmdGetAllInfos,
|
|
DevCmdStartDeviceSync,
|
|
DevCmdSetDeviceButton,
|
|
};
|
|
|
|
const static unsigned DevProtocolVersion = 0x3;
|
|
|
|
}
|
|
|
|
#endif
|
|
|