akeyboard.pas 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. This file is part of the Free Pascal MorphOS support package
  3. Copyright (c) 2015 the Free Pascal Development Team
  4. keyboard.device interface unit
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. unit akeyboard;
  12. {
  13. Contents of this file is based on keyboard.h from the MorphOS SDK:
  14. keyboard.device include
  15. Copyright (c) 2002 The MorphOS Development Team, All Rights Reserved
  16. }
  17. { Pascal conversion based on fpc-triforce repo by Magorium }
  18. interface
  19. uses
  20. exec;
  21. const
  22. KBD_READEVENT = (CMD_NONSTD + 0);
  23. KBD_READMATRIX = (CMD_NONSTD + 1);
  24. KBD_ADDRESETHANDLER = (CMD_NONSTD + 2);
  25. KBD_REMRESETHANDLER = (CMD_NONSTD + 3);
  26. KBD_RESETHANDLERDONE = (CMD_NONSTD + 4);
  27. implementation
  28. end.