OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../clanlib06/directfb-api-change.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -Nur ClanLib-0.6.5-orig/Sources/Display/Input/DirectFB/keyboard_directfb.cpp ClanLib-0.6.5/Sources/Display/Input/DirectFB/keyboard_directfb.cpp
  17. --- ClanLib-0.6.5-orig/Sources/Display/Input/DirectFB/keyboard_directfb.cpp 2002-06-07 19:36:33.000000000 +0000
  18. +++ ClanLib-0.6.5/Sources/Display/Input/DirectFB/keyboard_directfb.cpp 2006-06-04 12:28:34.000000000 +0000
  19. @@ -242,8 +242,7 @@
  20. case DIKI_SHIFT_L: return CL_KEY_LSHIFT;
  21. case DIKI_SHIFT_R: return CL_KEY_RSHIFT;
  22. case DIKI_ALT_L: return CL_KEY_ALT;
  23. - case DIKI_ALT_R: return CL_KEY_ALT;
  24. - case DIKI_ALTGR: return CL_KEY_ALTGR;
  25. + case DIKI_ALT_R: return CL_KEY_ALTGR;
  26. case DIKI_TAB: return CL_KEY_TAB;
  27. case DIKI_ENTER: return CL_KEY_ENTER;
  28. case DIKI_SPACE: return CL_KEY_SPACE;
  29. @@ -337,7 +336,7 @@
  30. case CL_KEY_LSHIFT: return DIKI_SHIFT_L;
  31. case CL_KEY_RSHIFT: return DIKI_SHIFT_R;
  32. case CL_KEY_ALT: return DIKI_ALT_L;
  33. - case CL_KEY_ALTGR: return DIKI_ALTGR;
  34. + case CL_KEY_ALTGR: return DIKI_ALT_R;
  35. case CL_KEY_TAB: return DIKI_TAB;
  36. case CL_KEY_ENTER: return DIKI_ENTER;
  37. case CL_KEY_SPACE: return DIKI_SPACE;