Library Referencemapper libraryvJoy objectvJoy:get_button()On this pagevJoy:get_button() vJoy:get_button(button_id) This method is used to get a vJoyUnit object corresponding to a button. Parameters ParameterTypeDescriptionbutton_idnumberSpecifies a button number starting from 1. Return Values This method returns a vJoyUnit object. See Also Joystick emulation vJoyUnit