Attempt to connect a new controller
Close all the connected controllers
Open all the connected controllers
Called upon remapping
Remove a connected controller
Change the value of a controller axis.
Change the value of a controller button.
Update the state of the controllers
Is the A button pressed.
Is the B button pressed.
Is the Down button pressed.
Is the L1 button pressed.
Is the L2 button pressed.
Is the L3 button pressed.
Left analog stick
Is the Left button pressed.
Is the Mode button pressed.
Is the R1 button pressed.
Is the R2 button pressed.
Is the R3 button pressed.
Right analog stick
Is the Right button pressed.
Is the Select button pressed.
Is the A button pressed. Returns true only if the button was not already tested.
Is the B button pressed. Returns true only if the button was not already tested.
Is the Down button pressed. Returns true only if the button was not already tested.
Is the L1 button pressed. Returns true only if the button was not already tested.
Is the L2 button pressed. Returns true only if the button was not already tested.
Is the L3 button pressed. Returns true only if the button was not already tested.
Is the Left button pressed. Returns true only if the button was not already tested.
Returns the left stick x-axis as a button.
Returns the left stick x and y axis as a button.
Returns the left stick y-axis as a button.
Is the Mode button pressed. Returns true only if the button was not already tested.
Is the R1 button pressed. Returns true only if the button was not already tested.
Is the R2 button pressed. Returns true only if the button was not already tested.
Is the R3 button pressed. Returns true only if the button was not already tested.
Is the Right button pressed. Returns true only if the button was not already tested.
Returns the right stick x-axis as a button.
Returns the right stick x and y axis as a button.
Returns the right stick y-axis as a button.
Is the Select button pressed. Returns true only if the button was not already tested.
Is the Start button pressed. Returns true only if the button was not already tested.
Is the Up button pressed. Returns true only if the button was not already tested.
Is the X button pressed. Returns true only if the button was not already tested.
Is the Y button pressed. Returns true only if the button was not already tested.
Is the Start button pressed.
Is the Up button pressed.
Is the X button pressed.
Is the Y button pressed.
Grimoire Copyright (c) 2017 Enalye
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.