Advertisement
Guest User

Untitled

a guest
May 20th, 2011
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.93 KB | None | 0 0
  1. #------------------------------------------------------------------------------
  2. # contributed by Claas Langbehn (claas@bigfoot.com) 01-May-2000
  3. # With support for extended RC-5 with 6 bits system codes
  4. # by Dieter Fauth, 2007.04.29
  5. #------------------------------------------------------------------------------
  6. #
  7. # filename: RC-5-extended
  8. # encoding: shift encoded, RC-5
  9. # brand: Philips (and many others)
  10. # model: all
  11. # supported devices: all
  12. #
  13. # This is the code for all RC-5 coded remote controls.
  14. # There are 32 different systems with 128 commands each.
  15. #
  16. # Known system adresses:
  17. # ----------------------
  18. # $00 - 0 TV1
  19. # $01 - 1 TV2
  20. # $02 - 2 Teletext
  21. # $03 - 3 Video
  22. # $04 - 4 LV1
  23. # $05 - 5 VCR1
  24. # $06 - 6 VCR2
  25. # $07 - 7 Experimental
  26. # $08 - 8 Sat1
  27. # $09 - 9 Camera
  28. # $0A - 10 Sat2
  29. # $0B - 11
  30. # $0C - 12 CDV
  31. # $0D - 13 Camcorder
  32. # $0E - 14 CD-Player
  33. # $0F - 15
  34. # $10 - 16 Pre-amp
  35. # $11 - 17 Tuner
  36. # $12 - 18 Recorder1
  37. # $13 - 19 Pre-amp
  38. # $14 - 20 CD Player
  39. # $15 - 21 Phono
  40. # $16 - 22 SatA
  41. # $17 - 23 Recorder2
  42. # $18 - 24
  43. # $19 - 25
  44. # $1A - 26 CDR
  45. # $1B - 27
  46. # $1C - 28
  47. # $1D - 29 Lighting
  48. # $1E - 30 Lighting
  49. # $1F - 31 Phone
  50. #
  51. # Examples for commands:
  52. # Command TV Command VCR Command
  53. # $00 - 0 0 0
  54. # $01 - 1 1 1
  55. # $02 - 2 2 2
  56. # $03 - 3 3 3
  57. # $04 - 4 4 4
  58. # $05 - 5 5 5
  59. # $06 - 6 6 6
  60. # $07 - 7 7 7
  61. # $08 - 8 8 8
  62. # $09 - 9 9 9
  63. # $0A - 10 -/-- -/--
  64. # $0C - 12 Standby Standby
  65. # $0D - 13 Mute
  66. # $10 - 16 Volume+
  67. # $11 - 17 Volume-
  68. # $12 - 18 Brightness+
  69. # $13 - 19 Brightness-
  70. # $20 - 32 Program+ Program+
  71. # $21 - 33 Program- Program-
  72. # $32 - 50 Fast Rewind
  73. # $34 - 52 Fast Forward
  74. # $35 - 53 Play
  75. # $36 - 54 Stop
  76. # $37 - 55 Recording
  77. #
  78. # Note: Many devices use a total different ordeer for the commands.
  79. #
  80. # Details about the encoding:
  81. # Regular RC5 code uses 2 leading bits with the value '1'. Followed by the toggle bit.
  82. # Extended RC5, uses the second bit to extend the number of possible commands to 128.
  83. # With Bit 1 set to 1 you get regular RC5 code (compatible with older systems).
  84. # With Bit 1 set to 0, you get extended extended RC5 code.
  85. # In the commands, the bit 1 is used inverted to gain the backwards compatibilty.
  86. #
  87. # Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13
  88. # | S |~C6 | T | A4 | A3 | A2 | A1 | A0 | C5 | C4 | C3 | C2 | C1 | C0 |
  89. #
  90. # Another thing is, that this file is way to long to be used for everyday
  91. # usage. You should better get a custom config file for your remote control.
  92. # This file is supposed to be for developers only.
  93. #
  94. # If you figure another system adress out which is not yet listed above, please
  95. # write me a short mail which type of device, brand, etc. Just the usual infos.
  96. #
  97. #------------------------------------------------------------------------------
  98. begin remote
  99.  
  100. name PHILIPS_RC-5-extended
  101. bits 13
  102. flags RC5|CONST_LENGTH
  103. eps 30
  104. aeps 100
  105.  
  106. one 866 909
  107. zero 866 909
  108. plead 858
  109. gap 113721
  110. min_repeat 1
  111. toggle_bit_mask 0x800
  112. frequency 36000
  113. duty_cycle 50
  114.  
  115. begin codes
  116. sys_1b_command_00 0x16c0
  117. sys_1b_command_01 0x16c1
  118. sys_1b_command_02 0x16c2
  119. sys_1b_command_03 0x16c3
  120. sys_1b_command_04 0x16c4
  121. sys_1b_command_05 0x16c5
  122. sys_1b_command_06 0x16c6
  123. sys_1b_command_07 0x16c7
  124. sys_1b_command_08 0x16c8
  125. sys_1b_command_09 0x16c9
  126. sys_1b_command_0a 0x16ca
  127. sys_1b_command_0b 0x16cb
  128. sys_1b_command_0c 0x16cc
  129. sys_1b_command_0d 0x16cd
  130. sys_1b_command_0e 0x16ce
  131. sys_1b_command_0f 0x16cf
  132. sys_1b_command_10 0x16d0
  133. sys_1b_command_11 0x16d1
  134. sys_1b_command_12 0x16d2
  135. sys_1b_command_13 0x16d3
  136. sys_1b_command_14 0x16d4
  137. sys_1b_command_15 0x16d5
  138. sys_1b_command_16 0x16d6
  139. sys_1b_command_17 0x16d7
  140. sys_1b_command_18 0x16d8
  141. sys_1b_command_19 0x16d9
  142. sys_1b_command_1a 0x16da
  143. sys_1b_command_1b 0x16db
  144. sys_1b_command_1c 0x16dc
  145. sys_1b_command_1d 0x16dd
  146. sys_1b_command_1e 0x16de
  147. sys_1b_command_1f 0x16df
  148. sys_1b_command_20 0x16e0
  149. sys_1b_command_21 0x16e1
  150. sys_1b_command_22 0x16e2
  151. sys_1b_command_23 0x16e3
  152. sys_1b_command_24 0x16e4
  153. sys_1b_command_25 0x16e5
  154. sys_1b_command_26 0x16e6
  155. sys_1b_command_27 0x16e7
  156. sys_1b_command_28 0x16e8
  157. sys_1b_command_29 0x16e9
  158. sys_1b_command_2a 0x16ea
  159. sys_1b_command_2b 0x16eb
  160. sys_1b_command_2c 0x16ec
  161. sys_1b_command_2d 0x16ed
  162. sys_1b_command_2e 0x16ee
  163. sys_1b_command_2f 0x16ef
  164. sys_1b_command_30 0x16f0
  165. sys_1b_command_31 0x16f1
  166. sys_1b_command_32 0x16f2
  167. sys_1b_command_33 0x16f3
  168. sys_1b_command_34 0x16f4
  169. sys_1b_command_35 0x16f5
  170. sys_1b_command_36 0x16f6
  171. sys_1b_command_37 0x16f7
  172. sys_1b_command_38 0x16f8
  173. sys_1b_command_39 0x16f9
  174. sys_1b_command_3a 0x16fa
  175. sys_1b_command_3b 0x16fb
  176. sys_1b_command_3c 0x16fc
  177. sys_1b_command_3d 0x16fd
  178. sys_1b_command_3e 0x16fe
  179. sys_1b_command_3f 0x16ff
  180. sys_1b_command_40 0x06c0
  181. sys_1b_command_41 0x06c1
  182. sys_1b_command_42 0x06c2
  183. sys_1b_command_43 0x06c3
  184. sys_1b_command_44 0x06c4
  185. sys_1b_command_45 0x06c5
  186. sys_1b_command_46 0x06c6
  187. sys_1b_command_47 0x06c7
  188. sys_1b_command_48 0x06c8
  189. sys_1b_command_49 0x06c9
  190. sys_1b_command_4a 0x06ca
  191. sys_1b_command_4b 0x06cb
  192. sys_1b_command_4c 0x06cc
  193. sys_1b_command_4d 0x06cd
  194. sys_1b_command_4e 0x06ce
  195. sys_1b_command_4f 0x06cf
  196. sys_1b_command_50 0x06d0
  197. sys_1b_command_51 0x06d1
  198. sys_1b_command_52 0x06d2
  199. sys_1b_command_53 0x06d3
  200. sys_1b_command_54 0x06d4
  201. sys_1b_command_55 0x06d5
  202. sys_1b_command_56 0x06d6
  203. sys_1b_command_57 0x06d7
  204. sys_1b_command_58 0x06d8
  205. sys_1b_command_59 0x06d9
  206. sys_1b_command_5a 0x06da
  207. sys_1b_command_5b 0x06db
  208. sys_1b_command_5c 0x06dc
  209. sys_1b_command_5d 0x06dd
  210. sys_1b_command_5e 0x06de
  211. sys_1b_command_5f 0x06df
  212. sys_1b_command_60 0x06e0
  213. sys_1b_command_61 0x06e1
  214. sys_1b_command_62 0x06e2
  215. sys_1b_command_63 0x06e3
  216. sys_1b_command_64 0x06e4
  217. sys_1b_command_65 0x06e5
  218. sys_1b_command_66 0x06e6
  219. sys_1b_command_67 0x06e7
  220. sys_1b_command_68 0x06e8
  221. sys_1b_command_69 0x06e9
  222. sys_1b_command_6a 0x06ea
  223. sys_1b_command_6b 0x06eb
  224. sys_1b_command_6c 0x06ec
  225. sys_1b_command_6d 0x06ed
  226. sys_1b_command_6e 0x06ee
  227. sys_1b_command_6f 0x06ef
  228. sys_1b_command_70 0x06f0
  229. sys_1b_command_71 0x06f1
  230. sys_1b_command_72 0x06f2
  231. sys_1b_command_73 0x06f3
  232. sys_1b_command_74 0x06f4
  233. sys_1b_command_75 0x06f5
  234. sys_1b_command_76 0x06f6
  235. sys_1b_command_77 0x06f7
  236. sys_1b_command_78 0x06f8
  237. sys_1b_command_79 0x06f9
  238. sys_1b_command_7a 0x06fa
  239. sys_1b_command_7b 0x06fb
  240. sys_1b_command_7c 0x06fc
  241. sys_1b_command_7d 0x06fd
  242. sys_1b_command_7e 0x06fe
  243. sys_1b_command_7f 0x06ff
  244.  
  245. sys_1c_command_00 0x1700
  246. sys_1c_command_01 0x1701
  247. sys_1c_command_02 0x1702
  248. sys_1c_command_03 0x1703
  249. sys_1c_command_04 0x1704
  250. sys_1c_command_05 0x1705
  251. sys_1c_command_06 0x1706
  252. sys_1c_command_07 0x1707
  253. sys_1c_command_08 0x1708
  254. sys_1c_command_09 0x1709
  255. sys_1c_command_0a 0x170a
  256. sys_1c_command_0b 0x170b
  257. sys_1c_command_0c 0x170c
  258. sys_1c_command_0d 0x170d
  259. sys_1c_command_0e 0x170e
  260. sys_1c_command_0f 0x170f
  261. sys_1c_command_10 0x1710
  262. sys_1c_command_11 0x1711
  263. sys_1c_command_12 0x1712
  264. sys_1c_command_13 0x1713
  265. sys_1c_command_14 0x1714
  266. sys_1c_command_15 0x1715
  267. sys_1c_command_16 0x1716
  268. sys_1c_command_17 0x1717
  269. sys_1c_command_18 0x1718
  270. sys_1c_command_19 0x1719
  271. sys_1c_command_1a 0x171a
  272. sys_1c_command_1b 0x171b
  273. sys_1c_command_1c 0x171c
  274. sys_1c_command_1d 0x171d
  275. sys_1c_command_1e 0x171e
  276. sys_1c_command_1f 0x171f
  277. sys_1c_command_20 0x1720
  278. sys_1c_command_21 0x1721
  279. sys_1c_command_22 0x1722
  280. sys_1c_command_23 0x1723
  281. sys_1c_command_24 0x1724
  282. sys_1c_command_25 0x1725
  283. sys_1c_command_26 0x1726
  284. sys_1c_command_27 0x1727
  285. sys_1c_command_28 0x1728
  286. sys_1c_command_29 0x1729
  287. sys_1c_command_2a 0x172a
  288. sys_1c_command_2b 0x172b
  289. sys_1c_command_2c 0x172c
  290. sys_1c_command_2d 0x172d
  291. sys_1c_command_2e 0x172e
  292. sys_1c_command_2f 0x172f
  293. sys_1c_command_30 0x1730
  294. sys_1c_command_31 0x1731
  295. sys_1c_command_32 0x1732
  296. sys_1c_command_33 0x1733
  297. sys_1c_command_34 0x1734
  298. sys_1c_command_35 0x1735
  299. sys_1c_command_36 0x1736
  300. sys_1c_command_37 0x1737
  301. sys_1c_command_38 0x1738
  302. sys_1c_command_39 0x1739
  303. sys_1c_command_3a 0x173a
  304. sys_1c_command_3b 0x173b
  305. sys_1c_command_3c 0x173c
  306. sys_1c_command_3d 0x173d
  307. sys_1c_command_3e 0x173e
  308. sys_1c_command_3f 0x173f
  309. sys_1c_command_40 0x0700
  310. sys_1c_command_41 0x0701
  311. sys_1c_command_42 0x0702
  312. sys_1c_command_43 0x0703
  313. sys_1c_command_44 0x0704
  314. sys_1c_command_45 0x0705
  315. sys_1c_command_46 0x0706
  316. sys_1c_command_47 0x0707
  317. sys_1c_command_48 0x0708
  318. sys_1c_command_49 0x0709
  319. sys_1c_command_4a 0x070a
  320. sys_1c_command_4b 0x070b
  321. sys_1c_command_4c 0x070c
  322. sys_1c_command_4d 0x070d
  323. sys_1c_command_4e 0x070e
  324. sys_1c_command_4f 0x070f
  325. sys_1c_command_50 0x0710
  326. sys_1c_command_51 0x0711
  327. sys_1c_command_51 0x0711
  328. sys_1c_command_52 0x0712
  329. sys_1c_command_53 0x0713
  330. sys_1c_command_54 0x0714
  331. sys_1c_command_55 0x0715
  332. sys_1c_command_56 0x0716
  333. sys_1c_command_57 0x0717
  334. sys_1c_command_58 0x0718
  335. sys_1c_command_59 0x0719
  336. sys_1c_command_5a 0x071a
  337. sys_1c_command_5b 0x071b
  338. sys_1c_command_5c 0x071c
  339. sys_1c_command_5d 0x071d
  340. sys_1c_command_5e 0x071e
  341. sys_1c_command_5f 0x071f
  342. sys_1c_command_60 0x0720
  343. sys_1c_command_61 0x0721
  344. sys_1c_command_62 0x0722
  345. sys_1c_command_63 0x0723
  346. sys_1c_command_64 0x0724
  347. sys_1c_command_65 0x0725
  348. sys_1c_command_66 0x0726
  349. sys_1c_command_67 0x0727
  350. sys_1c_command_68 0x0728
  351. sys_1c_command_69 0x0729
  352. sys_1c_command_6a 0x072a
  353. sys_1c_command_6b 0x072b
  354. sys_1c_command_6c 0x072c
  355. sys_1c_command_6d 0x072d
  356. sys_1c_command_6e 0x072e
  357. sys_1c_command_6f 0x072f
  358. sys_1c_command_70 0x0730
  359. sys_1c_command_71 0x0731
  360. sys_1c_command_72 0x0732
  361. sys_1c_command_73 0x0733
  362. sys_1c_command_74 0x0734
  363. sys_1c_command_75 0x0735
  364. sys_1c_command_76 0x0736
  365. sys_1c_command_77 0x0737
  366. sys_1c_command_78 0x0738
  367. sys_1c_command_79 0x0739
  368. sys_1c_command_7a 0x073a
  369. sys_1c_command_7b 0x073b
  370. sys_1c_command_7c 0x073c
  371. sys_1c_command_7d 0x073d
  372. sys_1c_command_7e 0x073e
  373. sys_1c_command_7f 0x073f
  374.  
  375. end codes
  376.  
  377. end remote
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement