usb

Are there any good C# to usb device libraries? [closed]

六眼飞鱼酱① 提交于 2019-12-22 09:47:56
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Are there any good C# to usb device libraries? 回答1: Take a look at these: http://www.codeplex.com/FM http://code.google.com/p/csharp

AS3 USB game controller support

有些话、适合烂在心里 提交于 2019-12-22 09:12:09
问题 How can I make a USB controller control my AS3 game. I'm using the keyboard right now and I have thought about mapping the keys but I have to use a plugin for that and I just want users to be able to buy a simple controller that doesn't need any driver downloads/configuration. They should be able to plugin the USB controller and play the game through Flash Player in a browser. 回答1: One possibility... you can tell your users to download joy2key. http://electracode.com/4/joy2key/JoyToKey

Android adb wireless debugging with USB accessory

谁都会走 提交于 2019-12-22 08:35:05
问题 I have adb wireless connection working for debuging applications in eclipse, but I am having an issue with an application that is using the USB cable to attach to an accessory. The application is designed to start when the accessory is plugged in, SO I establish my ADB connenction and then run debug on eclipse, code loads etc.., now when I plug the accessory in the app starts and runs but loses communication to eclipse. So I can't debug! 回答1: In the command prompt just run adb connect <device

Android Studio wont recognize Nexus 7 as device

烂漫一生 提交于 2019-12-22 08:34:08
问题 I am having trouble running an app I am developing in Android Studio on my Nexus 7. I have successfully gotten this to work before using the same tablet and computer (running Windows 8), but since having my laptop repaired and everything wiped I'm convinced something with my dev environment is messed up. When I go to run the project, there are no available devices, so it is not recognizing my Nexus 7 anymore. Things I have tried making sure my computer recognizes the device and that I have

How to set the Usb connection mode?

被刻印的时光 ゝ 提交于 2019-12-22 08:28:30
问题 I'm writing an application which is supposed to dump data on the SD card and then another application on a pc which should read the data when the device is connected to the pc (in disc drive mode). On my HTC Legend there is a dialog to choose between: Charge only, HTC Sync, Disk drive.. Is there a possibility to set the mode with which the device is connecting to the pc or at least an intent to ask the user to switch the mode? 回答1: I haven't found a way of setting the mode programmatically,

Turn off power to a USB port

筅森魡賤 提交于 2019-12-22 08:05:10
问题 I'm looking for a way to turn power off (and back on) for a USB port. Solution can be in C, bash, etc. I'm using a BeagleBone running 32-bit Ubuntu 16.04 for armhf. > uname -srvm Linux 4.4.6-ti-r15 #1 SMP Tue Apr 5 12:32:22 UTC 2016 armv7l I've tried many things discussed on StackOverflow and AskUbuntu, including: #include <linux/usbdevice_fs.h> int main(void) { int fd = open( "/dev/bus/usb/001/002", O_WRONLY ); if (fd < 0) return 1; int rc = ioctl( fd, USBDEVFS_RESET, 0 ); if (rc < 0) return

How to get C++ to perform I/O from a USB Port like a Serial Port

限于喜欢 提交于 2019-12-22 07:52:18
问题 Is it possible to read/write from/to a specific USB port, avoiding all that USB handshaking stuff? What I want to do is communicate with a microcontroller, for example, that doesn't have a USB driver on board via USB. I want my C++ application to be able to send data via a specific USB port and then to receive data from that same USB port. Basically what I want to be able to do is treat that USB port like a serial port. Is this possible? Is there a workaround I can use? Thanks in advance. PS:

Android USB Host Mode and Accessory Mode

拜拜、爱过 提交于 2019-12-22 07:04:34
问题 I am trying to learn Android USB Host/Accessory connection. I read android devices can act usb host or usb accessory. Therefore I create two project one of them usb host project, other usb accessory project. I installed these projects to two different android devices. One of them has usb host(Device A) project, other has usb accessory(Device B) project. My question is, I can connect with usb host project to Device B. I can see all information about device. But In accessory project( Device B)

Data exchange directy to USB device with VID and PID in Delphi

微笑、不失礼 提交于 2019-12-22 05:53:59
问题 I've been trying to find some free and working code on the net about how to send and receive data (or frames as its seemed to be called) to and from a specific USB device by using VID and PID. Does anybody know how to do this in delphi? There seems to be nothing about this for delphi, at all! 回答1: See Robert Marquardt's HID controller suite for Delphi. It will give you communication possibilities with a USB device. This unit is incorporated in Project Jedi as well. See also Jan Axelson's HID

Data exchange directy to USB device with VID and PID in Delphi

三世轮回 提交于 2019-12-22 05:53:07
问题 I've been trying to find some free and working code on the net about how to send and receive data (or frames as its seemed to be called) to and from a specific USB device by using VID and PID. Does anybody know how to do this in delphi? There seems to be nothing about this for delphi, at all! 回答1: See Robert Marquardt's HID controller suite for Delphi. It will give you communication possibilities with a USB device. This unit is incorporated in Project Jedi as well. See also Jan Axelson's HID