Guest User

Untitled

a guest
Jun 3rd, 2017
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #*********************************************************************************************************
  2. #this file is configuration for each factory remote device
  3. # work_mode 0 :software mode 1 :hardware mode
  4. # repeat_enable 0 :disable repeat 1 :enable repeat
  5. #
  6. # factory_code each device has it's unique factory code.
  7. # pattern:custom_code(16bit)+index_code(16bit)
  8. # examble: 0xff000001 = 0xff00(custom cod) 0001 (index)
  9. #
  10. # release_delay unit:ms.release will report from kernel to user layer after this period of time
  11. # from press or repeat triggered.
  12. #
  13. # debug_enable 0 :debug disable 1 :debug disable
  14. #
  15. # SW MODE:
  16. # bit_count how many bits in each frame
  17. # tw_leader_act time window for leader active
  18. # tw_bit0 time window for bit0 time.
  19. # tw_bit1 time window for bit1 time
  20. # tw_repeat_leader time window for repeat leader
  21. # REG
  22. # reg_base_gen set value for PREG_IR_DEC_BASE_GEN
  23. # reg_control set value for PREG_IR_DEC_CONTROL
  24. # reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
  25. # reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE
  26. # reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
  27. # reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
  28. #*************************************************************************************************************
  29. #amlogic NEC remote
  30. factory_code = 0xff000001
  31. work_mode = 0
  32. repeat_enable = 1
  33. repeat_delay = 40
  34. repeat_peroid = 39
  35. release_delay = 121
  36. debug_enable = 1
  37.  
  38.  
  39. left_key_scancode = 0x47
  40. right_key_scancode = 0x15
  41. up_key_scancode = 0x46
  42. down_key_scancode = 0x16
  43. ok_key_scancode = 0x55
  44. pageup_key_scancode = 0x04
  45. pagedown_key_scancode = 0x1b
  46.  
  47. mouse_begin
  48. 0 0x47
  49. 1 0x15
  50. 2 0x46
  51. 3 0x16
  52.  
  53. mouse_end
  54.  
  55. key_begin
  56. 0x18 116
  57. 0x54 2
  58. 0x48 3
  59. 0x7 4
  60. 0x50 5
  61. 0x12 6
  62. 0x11 7
  63. 0x4c 8
  64. 0xe 9
  65. 0xd 10
  66. 0xc 11
  67. 0x4b 14
  68. 0x6 102
  69. 0x46 103
  70. 0x40 158
  71. 0x47 105
  72. 0x55 28
  73. 0x15 106
  74. 0x4 113
  75. 0x16 108
  76. 0x17 24 #codecinfo
  77. 0x14 114
  78. 0x8 113
  79. 0x10 115
  80. 0x42 164
  81. key_end
  82.  
  83. repeat_key_begin
  84. 0x14 114
  85. 0x10 115
  86. repeat_key_end
RAW Paste Data