I am using an Xbox controller to send data to my computer, and am using the SendInput method to handle keys. I was wondering if there was any other, better way to do this.
INPUT Input = { 26 };
Input.type = INPUT_KEYBOARD;
Input.ki.dwFlags = VK_UP;
SendInput(1, &Input, sizeof(INPUT));
std::cout << "Up";