You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im trying to use this on a rasperry pi 4 b, and its spitting out Unable to load vJoy SDK DLL. Ensure that vJoyInterface.dll is present /home/pi/.local/lib/python3.9/site-packages/pyvjoy/utils/x64/vJoyInterface.dll: invalid ELF header
i know this is built for windows but is there a way to do it on pi
btw im taking in a number and trying to make that the x cord
im trying to use this on a rasperry pi 4 b, and its spitting out
Unable to load vJoy SDK DLL. Ensure that vJoyInterface.dll is present /home/pi/.local/lib/python3.9/site-packages/pyvjoy/utils/x64/vJoyInterface.dll: invalid ELF header
i know this is built for windows but is there a way to do it on pi
btw im taking in a number and trying to make that the x cord
import serial.tools.list_ports import pyvjoy j = pyvjoy.VJoyDevice(1) serialInst = serial.Serial() serialInst.baudrate = 9600 serialInst.port = '/dev/ttyACM0' serialInst.open() while True: packet = serialInst.readline() packet = packet.decode('utf').rstrip('\n') if(packet.find("x")==True): packet = packet[:-1] j.set_axis(pyvjoy.HID_USAGE_X, 0x1) else: packet = packet[:-1] j.set_axis(pyvjoy.HID_USAGE_Y, 0x1) import serial.tools.list_ports import pyvjoy j = pyvjoy.VJoyDevice(1) serialInst = serial.Serial() serialInst.baudrate = 9600 serialInst.port = '/dev/ttyACM0' serialInst.open() while True: packet = serialInst.readline() packet = packet.decode('utf').rstrip('\n') if(packet.find("x")==True): packet = packet[:-1] j.set_axis(pyvjoy.HID_USAGE_X, 0x1) else: packet = packet[:-1] j.set_axis(pyvjoy.HID_USAGE_Y, 0x1)
The text was updated successfully, but these errors were encountered: