#include <string>Go to the source code of this file.
Enumerations | |
| enum | CONTROL { JSLX, JSLY, JSRX, JSRY, BTN1, BTN2, BTN3, BTN4, CONTROL_NR_ITEMS } |
| enum for all axes and buttons | |
Functions | |
| CONTROL | stringToControl (std::string string) |
| Converts control string from controller to CONTROL enum. More... | |
| int | stringToValue (std::string string) |
| Converts value of button, axis or config from string to int. More... | |
| CONTROL stringToControl | ( | std::string | string | ) |
Converts control string from controller to CONTROL enum.
| string | Button or axis |
| int stringToValue | ( | std::string | string | ) |
Converts value of button, axis or config from string to int.
| string | value of button, axis or config |
1.8.6