Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config files problem #38

Open
mazz0ni opened this issue Oct 19, 2022 · 0 comments
Open

Config files problem #38

mazz0ni opened this issue Oct 19, 2022 · 0 comments

Comments

@mazz0ni
Copy link

mazz0ni commented Oct 19, 2022

Hi, I need your help to change some keys on the keyboard and mouse. In the "controller" folder I put 2 files: Keyboard.ini and Mouse.ini. These in turn contain this code:
Keyboard.ini:

[keyboard]

//BUTTONS
VPAD_BUTTON_X = KEYBOARD_SPACEBAR
VPAD_BUTTON_A =  KEYBOARD_TAB
VPAD_BUTTON_B = KEYBOARD_R
VPAD_BUTTON_Y = KEYBOARD_SHIFT
VPAD_BUTTON_L = KEYBOARD_1
VPAD_BUTTON_R = KEYBOARD_2
VPAD_BUTTON_PLUS = KEYBOARD_ESC
VPAD_BUTTON_HOME = KEYBOARD_DELETE

//LEFT_STICK
VPAD_L_STICK_UP = KEYBOARD_W
VPAD_L_STICK_DOWN = KEYBOARD_S
VPAD_L_STICK_LEFT = KEYBOARD_A
VPAD_L_STICK_RIGHT = KEYBOARD_D
VPAD_BUTTON_STICK_L = KEYBOARD_SHIFT

//RIGHT_STICK
VPAD_BUTTON_STICK_R = KEYBOARD Q

Mouse.ini:

[mouse]

LEFT_CLICK = VPAD_BUTTON_ZR
RIGHT_CLICK = VPAD_BUTTON_ZL

The problem is that once I click A on the gamepad to add a new device, it automatically closes as if I had clicked on the device and the START buttons and the right stick remain automatically clicked.
I wanted to modify the files to fit COD BO2.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant