dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: HTCvive VR Controller Information C++

  1. #1
    Join Date
    Apr 2018
    Posts
    2

    Question HTCvive VR Controller Information C++

    Hi,
    I need to get three informations for each HTCvive controller:
    Battery status,
    Is it connected to the steam vr
    Is it's charging (like is it )

    But, i dont have any idea how to do that using c++.
    Anyone know how to do it?
    Its hard stuff to find through the internet.

    Iv try to get variable from steam vr memory, but i can't get static variable. Its the bad idea anyway.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,229

    Re: HTCvive VR Controller Information C++

    Is there some SDK for HTCvive VR Controller?
    Then try to search inside it.
    Victor Nijegorodov

  3. #3
    Join Date
    Apr 2018
    Posts
    2

    Re: HTCvive VR Controller Information C++

    Thank you for reply,
    Yes iv found open steam vr stuff.

    https://github.com/ValveSoftware/openvr/

    Iv found some enum in openvr.h and in this enum, something that can be battery level variable, but i have no idea how to combine it with my visual studio project.
    Don't think that #include"openvr.h" will make any sense.

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    12,736

    Re: HTCvive VR Controller Information C++


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)