USB HID command package
Project description
#Copyright (c) 2021 lorry_rui
#//////////usage://///////////////
#for HID use
#/////////////////////////////////////////
#VC_tde USE only @ logitech , Lorry RUi
https://pypi.org/project/vc-hid
https://github.com/Lorrytoolcenter/VC-HID.git
Sample code:
from vc_hid import vc_hid as hid
vid="046D" ## this Logi vid
pid="89a" ## this is logi Rally bar PID
pid1="867" ## this is Logi meetup PID
mousepid="c332"
setID="28"
readID="29"
LED=""
mousebutton="a"
controlID=20
readnumber=20
test = hid.HID_class()
if(name)=="main": anotherCMD=[0,0,0,0]
passflag,data=test.hidset(pid1,setID,controlID,readnumber,anotherCMD)
print(passflag,data)
passflag,data=test.readhid(pid1,readID,controlID,readnumber)
print(passflag,data)
passflag,data=test.hidset_vpid(vid,pid,setID,controlID,readnumber,anotherCMD)
print(passflag,data)
passflag,data=test.readhid_vpid(vid,pid,readID,controlID,readnumber)
print(passflag,data)
passflag,data=test.readhid_vpid_all(vid,pid,readID,readnumber)
print(passflag,data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vc_hid-2022.2.1.tar.gz.
File metadata
- Download URL: vc_hid-2022.2.1.tar.gz
- Upload date:
- Size: 185.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52817edbdaa2881246c40ccebc1bbd84b018a7324600fff0fdc20caf63e5e95e
|
|
| MD5 |
9caa801520ebe54ab2f19bfb3c277a89
|
|
| BLAKE2b-256 |
f3143956651a1cb30eeec41d91a6e72afca8f1fb8b36302036623360962d68e6
|
File details
Details for the file vc_hid-2022.2.1-py3-none-any.whl.
File metadata
- Download URL: vc_hid-2022.2.1-py3-none-any.whl
- Upload date:
- Size: 185.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1116264e96c0c64ecfa27f7398d95297d9496452e3d06f6a68e817403f43efbf
|
|
| MD5 |
8b5b5dc7bb5584d7718277e66bea4a49
|
|
| BLAKE2b-256 |
de1b5244c3880b7b699a408a4f9b48305826c38eb86471201e391b2a5ea53440
|