curiouspuya Posted January 28, 2011 Report Share Posted January 28, 2011 Hi there, I would like to make my own mouse using my own hardware from scratch. Does anyone know how to make a driver for such a device using LV only? Thanks P Quote Link to comment
Sparc Posted January 28, 2011 Report Share Posted January 28, 2011 Does anyone know how to make a driver for such a device using LV only? Assuming you mean a traditional Windows driver, you can't. You'll nee to use the Windows Device Development Kit and it uses some version of Visual Studio and write it C or C++, I forget which. On the other hand, if you make it with a USB interface and HID compliant you won't need to make a device driver. Windows (and just about every other modern OS) will recognize it and use a built in driver for it. There are many microcontroller products/projects out there that ship with a USB interface and HID compliant stack. Quote Link to comment
Jarrod S Posted January 28, 2011 Report Share Posted January 28, 2011 Assuming you mean a traditional Windows driver, you can't. You'll nee to use the Windows Device Development Kit and it uses some version of Visual Studio and write it C or C++, I forget which. On the other hand, if you make it with a USB interface and HID compliant you won't need to make a device driver. Windows (and just about every other modern OS) will recognize it and use a built in driver for it. There are many microcontroller products/projects out there that ship with a USB interface and HID compliant stack. You can't exactly create a LV driver, but you can use NI-VISA as the driver for a USB device, and then use VISA functions in LV to send USB-RAW communication to the endpoints. This would allow (very) low-level control of the device from LV, even though LV isn't technically the driver. Search VISA and USB-RAW for more info or see here or here to start. Quote Link to comment
curiouspuya Posted January 31, 2011 Author Report Share Posted January 31, 2011 Assuming you mean a traditional Windows driver, you can't. You'll nee to use the Windows Device Development Kit and it uses some version of Visual Studio and write it C or C++, I forget which. On the other hand, if you make it with a USB interface and HID compliant you won't need to make a device driver. Windows (and just about every other modern OS) will recognize it and use a built in driver for it. There are many microcontroller products/projects out there that ship with a USB interface and HID compliant stack. Thanks. That would mean I would have to first program the output of the device according to some mouse standards for generic USB interface. Quote Link to comment
curiouspuya Posted January 31, 2011 Author Report Share Posted January 31, 2011 You can't exactly create a LV driver, but you can use NI-VISA as the driver for a USB device, and then use VISA functions in LV to send USB-RAW communication to the endpoints. This would allow (very) low-level control of the device from LV, even though LV isn't technically the driver. Search VISA and USB-RAW for more info or see here or here to start. Thanks for that Jarrod Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.