Getche.h 476 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2014, Oculus VR, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. #if defined(_WIN32)
  11. #include <conio.h> /* getche() */
  12. #else
  13. #include <termios.h>
  14. #include <stdio.h>
  15. #include <unistd.h>
  16. char getche();
  17. #endif
粤ICP备19079148号