也許您想要GetAsyncKeyState。 ... if (GetAsyncKeyState(VK_RIGHT)) { std::cout << 'RIGHT key pressed' << std::endl; } ... 什麼是C#中的自動屬性,其目的是什麼?
確定! 回上一頁