Squashed 'external/gainput/' content from commit 2be0a50

git-subtree-dir: external/gainput
git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
This commit is contained in:
Simone
2024-01-22 08:51:55 +01:00
commit 4e42229bdd
170 changed files with 31921 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#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