Search found 5 matches

by imimasumi
Wed Aug 31, 2022 3:35 am
Forum: Developer's Forum for Windows
Topic: Sample_Software_USB
Replies: 7
Views: 19860

Re: Sample_Software_USB

Issue was fixed. BOOL CMFCApplication15Dlg::OnInitDialog() { ... RAWINPUTDEVICE rid[1]; rid[0].usUsagePage = 1; // Generic Desktop Page rid[0].usUsage = 8; // Multi-axis Controller rid[0].dwFlags = 0; rid[0].hwndTarget = m_hWnd; ::RegisterRawInputDevices(rid, 1, sizeof(RAWINPUTDEVICE)); return TRUE;...
by imimasumi
Wed Aug 17, 2022 5:35 pm
Forum: Developer's Forum for Windows
Topic: Sample_Software_USB
Replies: 7
Views: 19860

Re: Sample_Software_USB

There is the function what I want. SpaceMouse_Module_SDKv1\Sample_Software_USB\Source\3DxSMM_USB.cpp // Poll the device to read the current state hr = g_pJoystick->Poll(); // Get the input's device state if (FAILED(hr = g_pJoystick->GetDeviceState(sizeof(DIJOYSTATE2), &js))) return hr; // The de...
by imimasumi
Wed Aug 17, 2022 5:18 pm
Forum: Developer's Forum for Windows
Topic: Sample_Software_USB
Replies: 7
Views: 19860

Re: Sample_Software_USB

Hi jwick,
I'm checking navlib_viewer project.
What exact function does retreive SpaceMouse XYZABC axis information ?
It is hard to find it.
Or, is there any documentation about these functions ?
Thanks,
Masumi
by imimasumi
Wed Aug 17, 2022 8:30 am
Forum: Developer's Forum for Windows
Topic: Sample_Software_USB
Replies: 7
Views: 19860

Re: Sample_Software_USB

Hi jwick, Thank you for your reply. I can find two programs for Windows platform in your link. Windows 3DxWare SDK 4.0.2 Release Date: 2020/07/30 SpaceMouse Module SDK 1.0 Release Date: 2014/04/29 "Windows 3DxWare SDK 4.0.2", there is no sample code for C++ language. "SpaceMouse Modul...
by imimasumi
Tue Aug 16, 2022 4:24 pm
Forum: Developer's Forum for Windows
Topic: Sample_Software_USB
Replies: 7
Views: 19860

Sample_Software_USB

Hello guys, I bought SpaceMouseCompact. I installed the driver 3DxWare64_v10-8-8_r3488.exe in Windows10 Home 64bit version 21H2. I tried sample program in SDK. SpaceMouse_Module_SDKv1.zip\SpaceMouse Module SDKv1\Sample_Software_USB Release\3DxSMM_USB_SensorDemo.exe is executed and I manipulate Space...