build_irjl_map_table.c 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. * Notice!!!!
  3. * This file used to cramp out customer table for driver, you can't modify it manually,
  4. * if you need update some infomation, please edit the original file(irjl_map_table.c) directly.
  5. */
  6. /********************************************************************
  7. ** File Name: IRJL_map.c (IRJL)
  8. **
  9. ** File Description: this file is sunplus ir 501 mapping table
  10. **
  11. ** Copyright(c) 2015 sunplus Technologies - All Rights Reserved
  12. **
  13. ** History Information Description
  14. ** Date Author Modification
  15. **
  16. ********************************************************************/
  17. #include "irjl_map.h"
  18. #include "app_event.h"
  19. // IRJL Mapping Table
  20. IRKeyInfo_t dIRJL_info __attribute__((section(".customer.dIRJL_info"))) =
  21. {
  22. {
  23. {0x01FE, 0x00, UI_EVENT_MENU},
  24. {0x01FE, 0x02, UI_EVENT_UP},
  25. {0x01FE, 0x03, UI_EVENT_SLEEP},
  26. {0x01FE, 0x04, UI_EVENT_LEFT},
  27. {0x01FE, 0x06, UI_EVENT_DOWN},
  28. {0x01FE, 0x07, UI_EVENT_RIGHT},
  29. {0x01FE, 0x08, UI_EVENT_10},
  30. {0x01FE, 0x09, UI_EVENT_PC},
  31. {0x01FE, 0x0a, UI_EVENT_SOURCE},
  32. {0x01FE, 0x0b, UI_EVENT_DISPLAY},
  33. {0x01FE, 0x0c, UI_EVENT_0},
  34. {0x01FE, 0x0e, UI_EVENT_ASPECT},
  35. {0x01FE, 0x0f, UI_EVENT_RECALL},
  36. {0x01FE, 0x10, UI_EVENT_7},
  37. {0x01FE, 0x12, UI_EVENT_8},
  38. {0x01FE, 0x13, UI_EVENT_9},
  39. {0x01FE, 0x14, UI_EVENT_4},
  40. {0x01FE, 0x15, UI_EVENT_ENTER},
  41. {0x01FE, 0x16, UI_EVENT_5},
  42. {0x01FE, 0x17, UI_EVENT_6},
  43. {0x01FE, 0x18, UI_EVENT_1},
  44. {0x01FE, 0x1a, UI_EVENT_2},
  45. {0x01FE, 0x1b, UI_EVENT_3},
  46. {0x01FE, 0x1c, UI_EVENT_MUTE},
  47. {0x01FE, 0x1d, UI_EVENT_ATV},
  48. {0x01FE, 0x1e, UI_EVENT_AV},
  49. {0x01FE, 0x1f, UI_EVENT_POWER},
  50. {0x01FE, 0x40, UI_EVENT_PLAY_PAUSE},
  51. {0x01FE, 0x41, UI_EVENT_PREV},
  52. {0x01FE, 0x42, UI_EVENT_NEXT},
  53. {0x01FE, 0x43, UI_EVENT_STOP},
  54. {0x01FE, 0x45, UI_EVENT_VOL_UP},
  55. {0x01FE, 0x46, UI_EVENT_CH_DN},
  56. {0x01FE, 0x47, UI_EVENT_AUDIO},
  57. {0x01FE, 0x48, UI_EVENT_VOL_DN},
  58. {0x01FE, 0x49, UI_EVENT_CH_UP},
  59. {0x01FE, 0x4a, UI_EVENT_EXIT},
  60. {0x01FE, 0x4d, UI_EVENT_HDMI},
  61. {0x01FE, 0x4e, UI_EVENT_SRC_USB},
  62. {0x01FE, 0x50, UI_EVENT_FREEZE},
  63. {0x01FE, 0x5d, UI_EVENT_FR},
  64. {0x01FE, 0x5e, UI_EVENT_FF},
  65. },
  66. {0x01FE, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  67. IRJL_POWERON_KEY
  68. };