Accessing LEDs and the LCD display on a SpacePilot
Moderator: Moderators
Hi Michel,
We'll add a Display to go along with the Sensor and Keyboard objects in the 3DxInput interface. It will allow you to set the strings on the LCD. You'll also be able to get whether the button is assigned to your app or whether it is assigned to an internal driver function.
No release date yet.
Jim
3Dx Software Development
We'll add a Display to go along with the Sensor and Keyboard objects in the 3DxInput interface. It will allow you to set the strings on the LCD. You'll also be able to get whether the button is assigned to your app or whether it is assigned to an internal driver function.
No release date yet.
Jim
3Dx Software Development
Hi Michel,
No we haven't implemented a Display object (yet). We just have the LoadPreferences workaround we mentioned in this topic. If you change the file's contents and call LoadPreferences, you will get your new strings.
Sorry. That's all we have now via .NET. You can use the old API, but that's probably a lot more work for you.
Jim
No we haven't implemented a Display object (yet). We just have the LoadPreferences workaround we mentioned in this topic. If you change the file's contents and call LoadPreferences, you will get your new strings.
Sorry. That's all we have now via .NET. You can use the old API, but that's probably a lot more work for you.
Jim
Thanks Jwick for the useful information. I use the SP to drive an underwater robot and it was very important to show on the display the status of the controller.
It works perfectly as you described, using standard HID_ stuff. The refresh rate, using the unpacked mode, is about 400 ms, more than enough for text and lines.
I'm just missing the report ID for controlling the light of the LCD. Do you know which one is it?
Thanks in advance,
Giacomo
It works perfectly as you described, using standard HID_ stuff. The refresh rate, using the unpacked mode, is about 400 ms, more than enough for text and lines.
I'm just missing the report ID for controlling the light of the LCD. Do you know which one is it?
Thanks in advance,
Giacomo
Thanks, Jim. It works.
Nice the features of displaying the current time (0x04), which makes me thinking that maybe the SP has an internal font generator...? In any case, I used the Freetype-generated bitmap, already available in my project, for the fonts (with FT_RENDER_MODE_MONO, since we can't display the anti-alias with binary pixels!). Results are good in this way.
In any case, I'll look into an upgrate to the SPP.
Regards,
Giacomo
Nice the features of displaying the current time (0x04), which makes me thinking that maybe the SP has an internal font generator...? In any case, I used the Freetype-generated bitmap, already available in my project, for the fonts (with FT_RENDER_MODE_MONO, since we can't display the anti-alias with binary pixels!). Results are good in this way.
In any case, I'll look into an upgrate to the SPP.
Regards,
Giacomo