summaryrefslogtreecommitdiff
path: root/module/ir.m
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
commit46439007cf417cbd9ac8049bb4122c890097a0fa (patch)
tree6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /module/ir.m
parent37da2899f40661e3e9631e497da8dc59b971cbd0 (diff)
20060303-partial
Diffstat (limited to 'module/ir.m')
-rw-r--r--module/ir.m43
1 files changed, 43 insertions, 0 deletions
diff --git a/module/ir.m b/module/ir.m
new file mode 100644
index 00000000..a7bab18e
--- /dev/null
+++ b/module/ir.m
@@ -0,0 +1,43 @@
+Ir: module
+{
+ PATH: con "/dis/lib/ir.dis";
+ SIMPATH: con "/dis/lib/irsim.dis";
+ MPATH: con "/dis/lib/irmpath.dis";
+ SAGEPATH: con "/dis/lib/irsage.dis";
+
+ #
+ # "standard" remote buttons
+ #
+ Zero: con 0;
+ One: con 1;
+ Two: con 2;
+ Three: con 3;
+ Four: con 4;
+ Five: con 5;
+ Six: con 6;
+ Seven: con 7;
+ Eight: con 8;
+ Nine: con 9;
+ ChanUP: con 10;
+ ChanDN: con 11;
+ VolUP: con 12;
+ VolDN: con 13;
+ FF: con 14;
+ Rew: con 15;
+ Up: con 16;
+ Dn: con 17;
+ Select: con 18;
+ Power: con 19;
+ Enter: con 20;
+ Rcl: con 21;
+ Record: con 22;
+ Mute: con 23;
+ #
+ # Control
+ #
+ Error: con 9999;
+ EOF: con -1;
+
+ init: fn(c, p: chan of int): int;
+ translate: fn(c: int): int;
+};