hid

How to read HID Device Data by using TJvHidDevice

放肆的年华 提交于 2019-12-23 05:13:41
问题 How to read HID Device Data by using TJvHidDevice in Delphi2010. I want to read the Ink position (X and Y) of InkTable t. My Device name is DigiMemo , its a Pen and Tablet HID device. Thanks All 回答1: I use this to read the PS3 blu-ray remote through a USB bluetooth dongle on the pc. You can use it to read any other HID device, just need to experiment a little with it to retrieve the codes for each action. function JvHidDeviceController1Enumerate(HidDev: TJvHidDevice; const Idx: Integer):

Read Raw USB Input on Windows

旧巷老猫 提交于 2019-12-22 21:44:56
问题 I have device that is a USB HID Human Interface that sends keycodes to usb host when I press the keys and I just can't find a simple program that will dump all the input data that comes in my USB port? (with source code available of course. USBlyzer does it, but it's shareware) 回答1: Check out libusb and #USBLib Both are open sourse. #USBLib is a .net wrapper around the multi platform libusb. 来源: https://stackoverflow.com/questions/7373247/read-raw-usb-input-on-windows

Read Raw USB Input on Windows

对着背影说爱祢 提交于 2019-12-22 21:44:11
问题 I have device that is a USB HID Human Interface that sends keycodes to usb host when I press the keys and I just can't find a simple program that will dump all the input data that comes in my USB port? (with source code available of course. USBlyzer does it, but it's shareware) 回答1: Check out libusb and #USBLib Both are open sourse. #USBLib is a .net wrapper around the multi platform libusb. 来源: https://stackoverflow.com/questions/7373247/read-raw-usb-input-on-windows

Send feedback/effect to joystick from .net

南楼画角 提交于 2019-12-22 10:48:28
问题 Thanks to this answer https://stackoverflow.com/a/13734766/637142 I am able to know when a button is pressed or when the steering wheel is rotated. Now my question is how do I send an effect to the device? For example when I am playing a game if I crash the wheel will vibrate. How could I make the steering wheel vibrate? I belive what I need to do is to Start() an effect (http://sharpdx.org/documentation/api/t-sharpdx-directinput-effect). The SharpDX.DirectInput.Joystick class does not seem

Prevent usbhid from autoloading when USB HID device is plugged in

回眸只為那壹抹淺笑 提交于 2019-12-22 09:04:19
问题 I'm trying to (reversibly) disable USB HID support on a Raspbian Jessie install, kernel version 4.4.16-v7+. We need to have the Raspberry Pi in a semi-public space and display stuff on a TV, and we'd like to make it at least somewhat hard to mess with it. So far I've managed to make the usbhid module removable from the kernel via rmmod. After rmmod'ing the module, tt seems, though, that each time I plug in a USB keyboard or mouse, the device driver gets loaded back into the Kernel. Is there

What data can a HID device receive?

旧巷老猫 提交于 2019-12-22 04:58:16
问题 I am designing a USB keyboard with special capabilities. What information can such a HID device receive from the host? Can I via USB: Read data from a form on the screen? Find out what OS the user is on? Find out if there's been an error message? Even 'know' what's going on visually on the screen, i.e. what program is selected or whether the program is windowed or fullscreen? Thank you! 回答1: The device can't get any of this information from a standard driver that the operating system supplies

How to send hid data to device using python / pywinusb?

点点圈 提交于 2019-12-21 21:25:31
问题 I'm trying to use pywinusb to send output report to a pic18f4550. The device can receive data, and I've tested it with a C# application, which worked fine. Also, I can read data from the device with pywinusb just fine, but I have a problem trying to send data. Here's the code I'm running: from pywinusb import hid filter = hid.HidDeviceFilter(vendor_id = 0x0777, product_id = 0x0077) devices = filter.get_devices() if devices: device = devices[0] print "success" device.open() out_report = device

NullPointerException when opening HID Device using Java HID API (Managing Inputs from Multiple Keyboards)

做~自己de王妃 提交于 2019-12-21 20:56:46
问题 This question is a possible duplicate of this and this thread. But since none of them have provided a clear solution for my problem, I'm asking it again. My required task is to connect 2 Keyboards via USB and then manage the inputs of each Keyboard separately through a Java Application. This requirement has been answered into some progress in the first thread I have mentioned above by @nan but his solution did not work accurately for me. You can find his blog post on his solution for this

Send APDU command to card through HID OMNIKEY 5427 CK

感情迁移 提交于 2019-12-21 12:57:14
问题 I'm trying to pass though APDUs command via HID OMNIKEY 5427 CK to operate MIFARE Card ie. Ultralight C card, on the Windows 10 x64 OS environment using WinSCard.dll. (I'm under NXP NDA and have full access t their documents) I tried to find information online for days now. Seem like no published document for this model except the 2pages brochure. The simple command like GetUID (FFCA000000) is OK, I can get back the actual card UID. But for 'Authentication with Card', reference document from

How can i use the Bluetooth HID Device profile in Android Pie?

自作多情 提交于 2019-12-21 12:16:33
问题 I am trying to write an app for Android P using the Bluetooth HID device profile service to be used as a Bluetooth keyboard. According to the documentation I am supposed to use the method BluetoothAdapter.getProfileProxy(Context, BluetoothProfile.ServiceListener, int) to get the BluetoothHidDevice proxy object. During debug on my Android Pie device (Nokia 7 plus) the service listener never get called ( onServiceConnected ), and i get the following error in Logcat: Could not bind to Bluetooth