ir-keymaps.c 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. Keytables for supported remote controls, used on drivers/media
  3. devices.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  15. */
  16. #define IR_KEYMAPS
  17. /*
  18. * NOTICE FOR DEVELOPERS:
  19. * The IR mappings should be as close as possible to what's
  20. * specified at:
  21. * http://linuxtv.org/wiki/index.php/Remote_Controllers
  22. *
  23. * The usage of tables with just the command part is deprecated.
  24. * All new IR keytables should contain address+command and need
  25. * to define the proper IR_TYPE (IR_TYPE_RC5/IR_TYPE_NEC).
  26. * The deprecated tables should use IR_TYPE_UNKNOWN
  27. */
  28. #include <linux/module.h>
  29. #include <linux/input.h>
  30. #include <media/ir-common.h>
  31. /*
  32. * All keytables got moved to include/media/keytables directory.
  33. * This file is still needed - at least for now, as their data is
  34. * dynamically inserted here by the media/ir-common.h, due to the
  35. * #define IR_KEYMAPS line, at the beginning of this file. The
  36. * plans are to get rid of this file completely in a near future.
  37. */