Search found 18 matches

by Augie
Wed Oct 17, 2018 4:27 pm
Forum: Developer's Forum for macOS
Topic: HID values reported by IO Kit are out of range when driver is installed
Replies: 8
Views: 29926

Re: HID values reported by IO Kit are out of range when driver is installed

It would be nice if the HID information for each axis included a Resolution Multiplier ( Here, section 4.3.1 ) that could be used to determine the actual min/max value. Indeed but, sadly, we can't make changes to the HID descriptors without risking breaking applications already out there. Thanks fo...
by Augie
Tue Oct 16, 2018 5:22 pm
Forum: Developer's Forum for macOS
Topic: HID values reported by IO Kit are out of range when driver is installed
Replies: 8
Views: 29926

Re: HID values reported by IO Kit are out of range when driver is installed

I think you can keep it clamp there. You will need to set the driver to not just the "speed" (effectively have a multiplier gain of 1). If end-users chose to mess with the setting, then your program can ignore values > than modulus 350. Basically, allowing the users to get to "max" with less force ...
by Augie
Tue Oct 16, 2018 9:49 am
Forum: Developer's Forum for macOS
Topic: HID values reported by IO Kit are out of range when driver is installed
Replies: 8
Views: 29926

Re: HID values reported by IO Kit are out of range when driver is installed

I don't know what your application is but perhaps a product for industrial solutions is more appropriate than using an input device for PCs. I make an input system used in video games. I want to be able to treat the Space Mouse as a 6DoF joystick essentially. The only thing I'm able to do is clamp ...
by Augie
Mon Oct 15, 2018 10:45 am
Forum: Developer's Forum for macOS
Topic: HID values reported by IO Kit are out of range when driver is installed
Replies: 8
Views: 29926

Re: HID values reported by IO Kit are out of range when driver is installed

Hi, See if you can use the "3Dconnexion" preference pane to set the "speed" for your program. If you change the "speed" (a gain setting, effectively), it may be possible to return the data to the expected range. I will try this, but this isn't really a solution in my view because my software is inte...
by Augie
Sat Oct 13, 2018 12:00 pm
Forum: Developer's Forum for macOS
Topic: HID values reported by IO Kit are out of range when driver is installed
Replies: 8
Views: 29926

HID values reported by IO Kit are out of range when driver is installed

I am using OSX's IO Kit framework to get input events from the 3Dconnexion Space Navigator and Space Mouse Wireless on OSX. Everything works correctly when the 3Dconnexion software has not been installed on the system, but once the software is installed, the HID axis events start returning values th...
by Augie
Tue Jul 03, 2018 1:14 pm
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

I believe there is a hierarchy for XML files with the ones in %appdata% executed last, so they can override any xml files before them. They can even augment. For example Google Earth, it uses the one in %programfiles%, and if you want a slight change it'll put the slight change XML in %appdata% For...
by Augie
Sat Jun 30, 2018 1:08 pm
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

Lots of words you can make with hex alpha digits https://github.com/tmk/tmk_keyboard/issues/150 dead beef cafe feed LOL! I like that name for a restaurant: Dead Beef Cafe. And their tag line is "FEED!" I did test the other 2 3DMice, I'll be sure to email you the results. Thanks! There are at least ...
by Augie
Fri Jun 29, 2018 11:18 am
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

DI data from old Space Navigator (firmware 4.04) Identifier 0463beef (046d vendor, beef product) hmm, maybe it's high in protein! Device type FirstPerson (HID's multi-axis) Axis count 7 (where's the 7th?) Button count 4 (where are the other 2?) Hat count 1 (huh?) Haha! Bring on the baked potato. Th...
by Augie
Fri Jun 29, 2018 12:12 am
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

Hi Augie, How are you configuring the device? Can you perhaps share a small code snippet? As far as I can tell, using IDirectInputDevice8::EnumObjects with the DIDFT_AXIS flag ought to ensure the data is absolute. That still leaves with problem of detecting when the user has released the device sen...
by Augie
Thu Jun 28, 2018 11:57 pm
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

I should use Unity, it appears to be a popular engine for games these days, along with the Unreal engine. Are these Unity downloads on a trial period? https://unity3d.com/get-unity/download/archive You can use Unity totally free if you earn less than $100,000/yr. I got raw from the old Space Naviga...
by Augie
Thu Jun 28, 2018 4:44 pm
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

If Direct Input is showing you values that accumulate over time and do not reset to zero when the control knob is released, then the axes are returning relative values. I thought it would make it easier for you if I just made you builds: https://www.dropbox.com/s/8z3xt85x99k6gvu/RewiredJoystickEleme...
by Augie
Thu Jun 28, 2018 4:34 pm
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

I have 2 different Space Navigators (different firmwares.) Do you have a test program for rewired I could try, that shows direct input readings you get from the controllers? I remember in Chrome before they fixed it, I'd get different value ranges from each of the Space Navigators. Perhaps also one...
by Augie
Thu Jun 28, 2018 4:29 pm
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

Sorry, I must have missed the 'my' in front of 'rewired input plugin for unity' link! I just figured that Overload solely relied on Rewired by looking at the version update, I see now that I was mistaken. I'm surprised that the 3DMouse worked in the first release version, maybe via Direct Input. I'...
by Augie
Wed Jun 27, 2018 8:51 pm
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

Space Navigator is supported on Windows, OSX, and Linux according to the chart here http://guavaman.com/projects/rewired/docs/SupportedControllers.html Overload uses Rewired in Unity, and it works well with a Space Navigator https://playoverload.com/overload-version-0-9-build-117-now-steam/ I have ...
by Augie
Tue Jun 26, 2018 11:22 am
Forum: Developer's Forum for Windows
Topic: Direct Input axis format
Replies: 20
Views: 22305

Re: Direct Input axis format

Hi Augie, How are you configuring the device? Can you perhaps share a small code snippet? As far as I can tell, using IDirectInputDevice8::EnumObjects with the DIDFT_AXIS flag ought to ensure the data is absolute. I'm using a C# DirectInput wrapper, so the code isn't making direct calls to the DI A...