Microsoft Comfort Curve Keyboard 2000v1.0
The Microsoft Comfort Curve Keyboard 2000 v1.0 Microsoft Comfort Curve Keyboard 2000 v1.0
This is a fairly basic USB wired keyboard, great for someone concerned about wireless keyboard traffic being snooped or someone setting up his/her first MythTV box using parts kicking around the house. For the most part this acts like a typical USB keyboard, the only thing that makes this keyboard interesting from a MythTV viewpoint are the extra function keys above the normal F1 - F12 keys. The "extra" buttons above the function keys can be used to make this keyboard act like an oversized remote control.
Not sure how much of any of the following is of value, given that KnoppMyth has been replaced by LinHES, but is left here for possible historical interest.
To use the buttons we edit (or if it doesn't already exist, we create) the .xmodmaprc file in the home directory. For most this means we are working with the /home/mythtv/.xmodmaprc file.
! Extra function keymap for ! Microsoft Comfort Curve Keyboard 2000 v1.0 ! "Back" keycode 234 = Left ! "Forward" keycode 233 = Right ! Play/Pause keycode 162 = P ! Vol+ keycode 176 = bracketright ! Vol- keycode 174 = bracketleft ! Mute keycode 160 = bar ! "Web/Home" - Used as stop keycode 130 = Escape ! "Mail" - Used to switch between screen modes keycode 236 = W ! "Search" - Used to bring up program guide keycode 122 = M ! calculator - used to bring up sleep timer keycode 161 = F8
Unlike the fast forward or volume buttons, there is no clearly linked function for the "Mail", "Search" and calculator buttons. In my case, I tied those keys to functions that seemed to work for me, but go with what ever "extra" functions work for you...
Save the above file. To bring the above functions up immediately enter:
Now you need to make sure the above will come up each time the MythTV system is rebooted. Under KnoppMyth Release 5 F27 this can be done by editing the file /usr/local/bin/KnoppMyth-run and changing the line:
CMD2='exec mythfrontend --logfile /var/log/mythtv/mythfrontend.log'
CMD2='exec xmodmap /home/mythtv/.xmodmaprc | exec mythfrontend --logfile /var/log/mythtv/mythfrontend.log'
Lastly if you are running diskless frontends with the above hardware, you need to make sure the client machines will act appropriately. Under KnoppMyth you will need to edit the following file: