Jon -
I cleaned up the KM file and got rid of symbols Excel didn't like (was
converting to underscores) and got rid of the duplicate entry. I also
included sample 15-2117 mapping for ReplayTV users. There's a readme
which details most of my experiences. I've included it below. The new
WebTV keyboard file is located at:
http://groups.yahoo.com/group/jp1/files ... yboard.zip
-- readme.txt --
WebTV Keyboard is a device/protocol created by Jon Armstrong
with assistance from John Fine to allow your remote to send
the IR signals which a WebTV keyboard would normally generate.
It was partially based on a pronto ccf file.
In the process of adapting his work for text/symbol entry into
ReplayTV, I've taken his original work and slightly cleaned up
the KM file and added arrow key support.
I have tested every key which has a ReplayTV mapping but cannot
comment on the other unmapped keys as I do not have a device
which understands the full WebTV keyboard set.
There are 2 files:
Web_TV_Keyboard-KM.txt
Web_TV_Keyboard_for_Replay-KM.txt
The first is a cleaned up version of Jon's original work.
The second is a sample ReplayTV mapping for a 15-2117 remote.
To use, simply load the appropriate file into KM, cut/paste
the device *and* protocol into IR, define a device to use
cbl/1985, upload to your remote, and start experimenting.
Optionally, you can adjust the remote control model and
button mappings in KM.
CAVEATS:
1) ReplayTV ignores symbols in searches, so if you wanted to
create a Theme for:
CSI "CSI Crime" would find "CSI: Crime Scene Investigation"
MI5 "MI5" would find "MI-5"
Thus it is not necessary to enter symbols into the title of
a show (thus you might not want to go through the trouble of
using this device/protocol for ReplayTV other than for aesthetics)
2) To enter the shifted version of any key, use the CAPS key
(mapped to Enter in the 15-2117 sample KM file) This functions
as a shift-lock, so you need to press it again when you are
finished entering the shifted version of keys.
3) Some keys do not appear to display the proper character in
ReplayTV, in particular:
~ tilde (shift-grave) displays ` grave
) right-paren (shift-zero) displays 0 zero
" double-quote (shift-quote) displays , comma
' quote (quote) displays , comma
4) ReplayTV has it's own idea about how to capitalize letters.
The WebTV keyboard doesn't overide the builtin algorithm.
-
- sfhub (PM me at
http://www.avsforum.com/)
-
----
If you are interested in the details, read on...
At this point it may be useful to discuss some keyboard basics
with a blurb from Jon Armstrong:
It may be useful to cover how keyboards work. Each key has two
commands down and up. There is probably a held command and an
all clear that are the same for all keys, but I don't think
they are important for what you want. There is only one "a" key.
"A" is shift-"a" to do a shift anything; the command sequence
is shift-down, a-down, a-up, and shift-up for a total of 4
keystrokes. ctrl-alt-delete would be ctrl-down, alt-down,
del-down, del up, alt-up and ctrl-up. Since the device being
controlled generally executes when del-down is sent, the rest
of the commands are moot.
On the "Functions" page of KM you'll notice the OBCs defined
are all for "key-down". The matching "key-up" OBCs are listed
in the Description/Notes column. To properly emulate a WebTV
keyboard you'll need to define a macro for each key with the
"key-down" followed by the "key-up"
However in my testing with *ReplayTV* I've found that in many
cases you really only need to use the OBC for "key-down" as
long as you don't press the same key twice.
For example when I try to enter "gg" what is being sent to
ReplayTV is g(down) g(down), which doesn't make much sense
as there should have been an g(up) sandwiched in between and
at the end of the sequence, if this had been a real keyboard.
There seems to be a feature of the ReplayTV keyboard processing
(possibly others) which will interpret two different "key-down"
presses as if there was a "key-up" in between.
For example:
g(down) h(down) g(down) h(down)
is interpreted as:
g(down) [g(up)] h(down) [h(up)] g(down) [g(up)] h(down)
You can take advantage of this fact to enter repeating characters.
In the above example of entering "gg", we could have entered the
following to accomplish what we wanted (using only key-down OBCs)
g(down) arrow-up(down) g(down)
Regarding the OBCs, in my ReplayTV testing I have found there are
two ways to define any particular key. The last nibble (4 bits)
of any particular OBC will either be 0, 2, 8, A. In particular
0 and 2 are paired as are 8 and A. They can be used interchangeably.
For example:
'a' OBC 52 E0 or OBC 52 E2
'h' OBC 56 78 or OBC 56 7A
Finally, I'm providing the mappings from the WebTV key to the ReplayTV
equivalent function. This would be useful in defining your own button
maps.