hid

Associate HID Touch Device with Pnp Monitor

两盒软妹~` 提交于 2019-12-01 08:16:10
问题 I am developing a tool that displays a status about various hardware components on a system we use at work. Currently, we have 16 touch screen monitors (all by 3M) plugged in to a Windows 10 box. I need to verify that any given monitor has an associated touch screen recognized by windows. This is to assess the system for any hardware malfunctions i.e. bad cable, bad USB port, bad Monitor, etc. We see this more than we would like to admit, usually where a monitor's display will be working fine

Create iOS BLE HID service?

微笑、不失礼 提交于 2019-12-01 01:28:24
问题 I tried to create a simple "Hello World" app implementing the HID service (i.e. my app acting as a simple HID button). However, when trying this I receive the error The specified UUID is not allowed for this operation after adding my service to my CBPeripheralManager instance. Adding any "generic" (random UUID) service works, and other builtins such as Heart Rate monitor works fine, but I was curious about the HID service in particular. I found this thread, indicating that support for HID has

PyUSB send HID report

a 夏天 提交于 2019-12-01 00:58:08
UPDATE I managed it to send the data properly. For anyone how ran into the same problem, I used the following code: data=[0x00, 0x04, 0x04, 0xFF, 0xFF, 0xFF, 0x00, 0x00] result=dev.ctrl_transfer(0x21, 0x9, wValue=0x200, wIndex=0x00, data_or_wLength=data) (this is based on the answer posted here: link ) But I don't understand in detail, why I have to use bmRequestType=0x21 bRequest=0x9 wValue=0x200 If anyone could explain it in more detail, I would be grateful. I just want to learn. Initial request: I'm desperately trying to send a simple report to a HID-device using PyUSB. Using

Connection to specific HID profile bluetooth device

为君一笑 提交于 2019-12-01 00:21:38
I connect bluetooth barcode scanner to my android tablet. barcode scanner is bonded with android device as a input device - HID profile. it shows as keyboard or mouse in system bluetooth manager. i discovered that bluetooth profile input device class exist but is hidden. class and btprofile constants have @hide annotaions in android docs. hidden class: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.3.1_r1/android/bluetooth/BluetoothInputDevice.java here they should be also 3 other constants developer.android.com/reference/android/bluetooth

My SetupDiEnumDeviceInterfaces is not working

匆匆过客 提交于 2019-11-30 20:32:33
Can someone see if I am doing this right please: //DeviceManager.h #include <windows.h> //#include <hidsdi.h> #include <setupapi.h> #include <iostream> #include <cfgmgr32.h> #include <tchar.h> #include <devpkey.h> extern "C"{ #include <hidsdi.h> } //#pragma comment (lib, "setupapi.lib") class DeviceManager { public: DeviceManager(); ~DeviceManager(); void ListAllDevices(); void GetDevice(std::string vid, std::string pid); HANDLE PSMove; byte reportBuffer; private: HDEVINFO deviceInfoSet; //A list of all the devices SP_DEVINFO_DATA deviceInfoData; //A device from deviceInfoSet SP_DEVICE

PyUSB send HID report

徘徊边缘 提交于 2019-11-30 19:39:28
问题 UPDATE I managed it to send the data properly. For anyone how ran into the same problem, I used the following code: data=[0x00, 0x04, 0x04, 0xFF, 0xFF, 0xFF, 0x00, 0x00] result=dev.ctrl_transfer(0x21, 0x9, wValue=0x200, wIndex=0x00, data_or_wLength=data) (this is based on the answer posted here: link ) But I don't understand in detail, why I have to use bmRequestType=0x21 bRequest=0x9 wValue=0x200 If anyone could explain it in more detail, I would be grateful. I just want to learn. Initial

Making a Windows Mobile device emulate a Bluetooth HID device

若如初见. 提交于 2019-11-30 10:30:13
I'm looking for a way to connect a Windows Mobile device to a PC via Bluetooth and have it show up on the PC as a HID device (i.e. Keyboard or Mouse). I imagine this would mostly be a matter of modifying the available Bluetooth profiles on the Windows Mobile device so that it exposes a Bluetooth HID interface... Is that even possible? Would it require a custom driver or something on the WinMo device?? For the most part, my main requirement is that it not require ANY special software on the PC side, it should simply use the built in Bluetooth stack and think that the WinMo device is actually a

How to get graphic tablet pen pressure value?

我只是一个虾纸丫 提交于 2019-11-30 06:32:47
问题 I'm using a Wacom Bamboo Pen tablet and I'd like to be able to get its pen pressure value in my application written in C#. How do I do that? Is there maybe an API that allows one to get pen values on Windows 7? 回答1: Wacom provides an extensive API to get data directly from the tablet.The API includes example code for detecting pressure, tilt and other interactions: Tilt Test: Demonstrates pressure, use of the eraser and pen tilt properties Pressure Test: Demonstrates how to detect and display

My SetupDiEnumDeviceInterfaces is not working

☆樱花仙子☆ 提交于 2019-11-30 05:28:55
问题 Can someone see if I am doing this right please: //DeviceManager.h #include <windows.h> //#include <hidsdi.h> #include <setupapi.h> #include <iostream> #include <cfgmgr32.h> #include <tchar.h> #include <devpkey.h> extern "C"{ #include <hidsdi.h> } //#pragma comment (lib, "setupapi.lib") class DeviceManager { public: DeviceManager(); ~DeviceManager(); void ListAllDevices(); void GetDevice(std::string vid, std::string pid); HANDLE PSMove; byte reportBuffer; private: HDEVINFO deviceInfoSet; //A

What is the best usb library to communicate with usb HID devices on Windows?

独自空忆成欢 提交于 2019-11-29 23:09:33
The library should; -Be easy to use and few lines of client code should accomplish much -Be as platform independent as possible. (In case of future ports to other platforms) -Have C++ bindings. -Be mature and stable I would also like to be notified of most HID events through callbacks. I have considered the following alternatives: *libhid - (Unfortunately?) this is GPL and cannot be used in my application. *WDK - Seems to be a bit low-level for my use. I don`t need that kind of control *atusbhid - This has an appropriate level of abstraction but is firmly tied to the windows messaging loop Do