VICE: Disabling joysticks from command line

You need an actual VIC.

Moderator: Moderators

Post Reply
SparkyNZ
Vic 20 Enthusiast
Posts: 153
Joined: Tue Jan 18, 2011 2:23 am

VICE: Disabling joysticks from command line

Post by SparkyNZ »

How can I disable the joystick port from the command line? I can see lots of options for configuring/adding joysticks in the VICE manual but nothing to actually remove the Keyset A setting.

I am using VICE via CBMPrgStudio - maybe this is enabling the joystick by default. It has provision for joystick settings so I was hoping I could just a add a -joystick parameter in there to remove it.
User avatar
srowe
Vic 20 Scientist
Posts: 1340
Joined: Mon Jun 16, 2014 3:19 pm

Re: VICE: Disabling joysticks from command line

Post by srowe »

SparkyNZ wrote: Fri Sep 29, 2023 8:10 pm How can I disable the joystick port from the command line? I can see lots of options for configuring/adding joysticks in the VICE manual but nothing to actually remove the Keyset A setting.
From the command line help
-joydev1 <0-9>
Set device for native joystick port (0: None, 1: Numpad, 2: Keyset 1, 3: Keyset 2, 4: Analog joystick 0, 5: Analog joystick 1, 6: Analog joystick 2, 7: Analog joystick 3, 8: Analog joystick 4, 9: Analog joystick 5)
so I think you're looking for

Code: Select all

-joydev1 0
SparkyNZ
Vic 20 Enthusiast
Posts: 153
Joined: Tue Jan 18, 2011 2:23 am

Re: VICE: Disabling joysticks from command line

Post by SparkyNZ »

srowe wrote: Sat Sep 30, 2023 2:53 am From the command line help
-joydev1 <0-9>
Perfect! I probably should have ran it from a command prompt. Doh! Thank you!
Post Reply