hid设备的Python包装器
Py-Keyboard的Python项目详细描述
Python HID USB仿真器
Python包装器,用于模拟raspi zero w的HID USB设备
从https://randomnerdtutorials.com/raspberry-pi-zero-usb-keyboard-hid/设置
git回购
pip3 install git+https://github.com/Danny-Dasilva/Py_Keyboard.git
在一个全新的圆周率
git clone https://github.com/Danny-Dasilva/Py_Keyboard.git
在Py_键盘文件夹中
source install.sh
在示例.py在
fromPy_Keyboard.HIDimportKeyboardkbd=Keyboard()kbd.press("CONTROL ALT T")kbd.write('ls\n')
待办事项
keycodes = layout.keycodes('$')
测试pip包导入
- 项目
标签: