Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Amethyst API v12 (Refresh requests)
Browse files Browse the repository at this point in the history
  • Loading branch information
KimihikoAkayasaki committed Jul 6, 2022
1 parent 87766e3 commit 7c8a921
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion external/vendor/Amethyst_API_Devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ inline std::string WStringToString(const std::wstring& s)
namespace ktvr
{
// Interface Version
static const char* IK2API_Devices_Version = "IK2API_Version_011";
static const char* IK2API_Devices_Version = "IK2API_Version_012";

// Return messaging types
enum K2InitErrorType
Expand Down Expand Up @@ -769,6 +769,9 @@ namespace ktvr
*/
std::function<std::array<K2TrackedJoint, 7>()> getAppJointPoses;

// Request a refresh of the status/name/etc. interface
std::function<void()> requestStatusUIRefresh;

// To support settings daemon and register the layout root,
// the device must properly report it first
// -> will lead to showing an additional 'settings' button
Expand Down Expand Up @@ -983,6 +986,9 @@ namespace ktvr
*/
std::function<std::array<K2TrackedJoint, 7>()> getAppJointPoses;

// Request a refresh of the status/name/etc. interface
std::function<void()> requestStatusUIRefresh;

// To support settings daemon and register the layout root,
// the device must properly report it first
// -> will lead to showing an additional 'settings' button
Expand Down

0 comments on commit 7c8a921

Please sign in to comment.