![]() |
Can LabVIEW take advantage of controller button pressure sensitivity?
For example, I have a steering wheel and pedal set that is registered as a generic USB controller and works flawlessly in LabVIEW. However, I would like the sensitivity of the press of a button to affect the output of a motor. Is there a way LabVIEW can read pressure sensitivity through a .dll file or such?
|
Re: Can LabVIEW take advantage of controller button pressure sensitivity?
How does the device report that pressure?
Not directly related: If only position is reported, pressure can be estimated by the rate of position change. So a 'light' press might move it 2 mm/sec, while a 'hard' press might go 15 mm/sec. (Finally! A real use for calculus! :-)) |
Re: Can LabVIEW take advantage of controller button pressure sensitivity?
What hardware are you using? If it's reported by the hardware labview should be able to read it as well as any other language.
Quote:
|
Re: Can LabVIEW take advantage of controller button pressure sensitivity?
Quote:
Exceptions like the xbox hat only make some axis behave as on/off buttons, but a button never behaves as an axis. In general, if code reads the game controller input as an Axis, then the device returns press sensitivity. However, if a game controller input is reported as a button, then it is not press sensitive. |
Re: Can LabVIEW take advantage of controller button pressure sensitivity?
Yes, I understand that buttons give only a boolean value. However, I thought this because these controllers have pressure sensitivity (such as speed variation through press strength when applied to a driving simulator) and I wondered if LabVIEW could read this. However, this does not appear to be the case. Thank you very much for your help.
|
Re: Can LabVIEW take advantage of controller button pressure sensitivity?
Quote:
An example of extending DLLs In LabVIEW can be found here: http://www.chiefdelphi.com/forums/sh...07#post1374207 This shows an example of extending the xinput dll to control the vibration of a connected xbox 360 controller. |
Re: Can LabVIEW take advantage of controller button pressure sensitivity?
Quote:
|
| All times are GMT -5. The time now is 08:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi