Prevent keyboard input from sending controller output

Gtuner IV general support. Operation, questions, updates, feature request.

Prevent keyboard input from sending controller output

Postby ungabunga9 » Wed Apr 03, 2019 6:47 pm

I am trying to trigger events with my keyboard.
Currently, certain buttons on the keyboard automatically send controller inputs to the console when these keys are pressed.

For example:
ESC activates B
F1 activates Y
Arrow keys activate d-pad buttons
ect...


I do not have any remapping or code that should cause this.

Is there a way to disable this behavior?

I would like the KEY_RIGHTARROW to stop sending keypad-right/BUTTON_13 when it is pressed.


Thanks!!
User avatar
ungabunga9
First Sergeant
First Sergeant
 
Posts: 61
Joined: Thu Jun 01, 2017 1:37 pm

Re: Prevent keyboard input from sending controller output

Postby DontAtMe » Wed Apr 03, 2019 7:14 pm

Code: Select all
init{
  keymapping();
}
User avatar
DontAtMe
Captain
Captain
 
Posts: 502
Joined: Tue Oct 02, 2018 4:49 am

Re: Prevent keyboard input from sending controller output

Postby ungabunga9 » Wed Apr 03, 2019 7:19 pm

Thank you very much. That solved my issue!
It's been a very long time since I've had to do in-depth scripting.
User avatar
ungabunga9
First Sergeant
First Sergeant
 
Posts: 61
Joined: Thu Jun 01, 2017 1:37 pm


Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 39 guests