event.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* MegaZeux
  2. *
  3. * Copyright (C) 2004-2006 Gilead Kutnick <exophase@adelphia.net>
  4. * Copyright (C) 2007 Alistair John Strachan <alistair@devzero.co.uk>
  5. * Copyright (C) 2007 Alan Williams <mralert@gmail.com>
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  20. */
  21. #ifndef __3DS_EVENT_H__
  22. #define __3DS_EVENT_H__
  23. #include "../../src/event.h"
  24. enum bottom_screen_mode
  25. {
  26. BOTTOM_SCREEN_MODE_PREVIEW,
  27. BOTTOM_SCREEN_MODE_KEYBOARD,
  28. BOTTOM_SCREEN_MODE_MAX
  29. };
  30. enum focus_mode
  31. {
  32. FOCUS_FORBID,
  33. FOCUS_ALLOW, // checks if position changed
  34. FOCUS_PASS // ignores all checks and check updates - for touchscreen
  35. };
  36. enum bottom_screen_mode get_bottom_screen_mode(void);
  37. enum focus_mode get_allow_focus_changes(void);
  38. #endif /* __3DS_EVENT_H__ */