Skip to main content
New Participant
August 28, 2014

Is there a mouse emulator?

hey guys......

well.... i built myself an external headtracker for the DK2 because i was annoyed of the missing SDK integration...

my question is: is there a small and performant tool wich makes it able to have the oculus Headtracker act as a simple HID mouse device, with XY? That would at least make it able to play "unsupported" games. Better then nothing in many cases.

Maybe it would be a simple move to integrate it in the next SDK as a little Checkbox that says "mouse emulator"...

    3 replies

    Up and Coming
    September 3, 2014
    For quick and dirty in C, since the OVR SDK gives you YPR with a basic setup, you can find many examples from around the web that show you how to setup mouse movement with C++, and you dont need YPR you can just use the 3 axis Gyro, but make sure you use corrected values, from there you just compile and go, and it should be good. Now you could look at https://github.com/AngelJA/Deskope , this is a program called Deskope and it lets you use the desktop in a more friendly way, and you have a mouse emulation. You can go and see how he did it, and them mimic something similar. Let me know how it all goes:O)

    ~Bobby
    New Participant
    September 12, 2014
    Hey, could you link one of those tutorials? Thanks
    Up and Coming
    September 12, 2014
    This post here has good info:
    http://forums.codeguru.com/showthread.php?377394-Windows-SDK-User-Interface-How-can-I-emulate-mouse-events-in-an-application

    This is DirectX related...so VERY important stuff! :
    http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh994925.aspx

    and here is Windows related stuff:
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms645616(v=vs.85).aspx

    I know nothing about MAC and Linux though, but you should be as complete as possible;O)