build_irnp_map_table.c 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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(irnp_map_table.c) directly.
  5. */
  6. /********************************************************************
  7. ** File Name: IRNP_map.c (IRNP)
  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 "irnp_map.h"
  18. #include "app_event.h"
  19. // IRNP Mapping Table
  20. IRKeyInfo_t dIRNP_info __attribute__((section(".customer.dIRNP_info"))) =
  21. {
  22. {
  23. {0x00FF, 0x09, UI_EVENT_FR},
  24. {0x00FF, 0x0D, UI_EVENT_ENTER},
  25. {0x00FF, 0x11, UI_EVENT_FF},
  26. {0x00FF, 0x12, UI_EVENT_PREV},
  27. {0x00FF, 0x1B, UI_EVENT_EXIT},
  28. {0x00FF, 0x25, UI_EVENT_LEFT},
  29. {0x00FF, 0x26, UI_EVENT_UP},
  30. {0x00FF, 0x27, UI_EVENT_RIGHT},
  31. {0x00FF, 0x28, UI_EVENT_DOWN},
  32. {0x00FF, 0x30, UI_EVENT_0},
  33. {0x00FF, 0x31, UI_EVENT_1},
  34. {0x00FF, 0x32, UI_EVENT_2},
  35. {0x00FF, 0x33, UI_EVENT_3},
  36. {0x00FF, 0x34, UI_EVENT_4},
  37. {0x00FF, 0x35, UI_EVENT_5},
  38. {0x00FF, 0x36, UI_EVENT_6},
  39. {0x00FF, 0x37, UI_EVENT_7},
  40. {0x00FF, 0x38, UI_EVENT_8},
  41. {0x00FF, 0x39, UI_EVENT_9},
  42. {0x00FF, 0x41, UI_EVENT_REC},
  43. {0x00FF, 0x49, UI_EVENT_TEXT},
  44. {0x00FF, 0x4A, UI_EVENT_PLAY_PAUSE},
  45. {0x00FF, 0x4C, UI_EVENT_SOURCE},
  46. {0x00FF, 0x4D, UI_EVENT_MUTE},
  47. {0x00FF, 0x4F, UI_EVENT_NEXT},
  48. {0x00FF, 0x51, UI_EVENT_POWER},
  49. {0x00FF, 0x52, UI_EVENT_AUDIO},
  50. {0x00FF, 0x59, UI_EVENT_MENU},
  51. {0x00FF, 0xBB, UI_EVENT_VOL_UP},
  52. {0x00FF, 0xBD, UI_EVENT_VOL_DN},
  53. },
  54. {0x00FF, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  55. IRNP_POWERON_KEY
  56. };