mirror of
https://github.com/dekuNukem/USB4VC.git
synced 2025-10-31 11:26:46 -07:00
fixed switch pro controller button not holding down, added compatibility matrix, updated doc
This commit is contained in:
@@ -1 +1 @@
|
||||
ssh pi@192.168.1.56
|
||||
ssh pi@192.168.1.61
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
# sh sync.sh; ssh -t pi@192.168.1.67 "pkill python3;cd ~/usb4vc/rpi_app;python3 usb4vc_main.py"
|
||||
|
||||
scp ./* pi@192.168.1.56:~/usb4vc/rpi_app
|
||||
ssh -t pi@192.168.1.56 "pkill python3;cd ~/usb4vc/rpi_app;python3 usb4vc_main.py"
|
||||
scp ./* pi@192.168.1.61:~/usb4vc/rpi_app
|
||||
ssh -t pi@192.168.1.61 "pkill python3;cd ~/usb4vc/rpi_app;python3 usb4vc_main.py"
|
||||
@@ -1,4 +1,4 @@
|
||||
RPI_APP_VERSION_TUPLE = (0, 0, 6)
|
||||
RPI_APP_VERSION_TUPLE = (0, 0, 7)
|
||||
|
||||
code_name_to_value_lookup = {
|
||||
'KEY_RESERVED':(0, 'kb_key'),
|
||||
|
||||
@@ -590,7 +590,10 @@ def raw_input_event_worker():
|
||||
pcard_spi.xfer(list(last_mouse_button_msg))
|
||||
# Gamepad buttons
|
||||
elif BTN_SOUTH <= event_code <= BTN_THUMBR or event_code in gamepad_buttons_as_kb_codes:
|
||||
gamepad_status_dict[this_id][event_code] = data[4]
|
||||
this_btn_status = data[4]
|
||||
if this_btn_status != 0:
|
||||
this_btn_status = 1
|
||||
gamepad_status_dict[this_id][event_code] = this_btn_status
|
||||
|
||||
# event is relative axes AKA mouse
|
||||
elif data[0] == EV_REL and event_code == REL_X:
|
||||
|
||||
Reference in New Issue
Block a user