[PLUG] USB and Wine
Dale Snell
ddsnell at frontier.com
Thu Oct 20 22:47:23 UTC 2011
On Thu, 20 Oct 2011 15:29:13 -0700
"Richard C. Steffens" <rsteff at comcast.net> wrote:
> As I've thought more about this I realize that mapping to
> keyboard commands probably won't work. I use Express Scribe to
> listen to the recording. I use OpenOffice Writer to type. While
> typing the OO window has the focus so any key presses would be
> interpreted by OO unless there's some other trick I don't know
> about that let's some keyboard commands go to one program while
> another program has the focus. As I look at the link you
> provided there might be something in there. I'll dig further.
showkey(1) and xmodmap(1) are your friends (but read the man pages
_carefully_). Showkey will you what keycodes the foot switches
emit. Xmodmap will let you map them to whatever you need, before
any application program sees them. For example, I have my Caps
Lock and Left Ctrl keys swapped. Works like a charm.
--Dale
--
The question of whether computers can think is just like the question of
whether submarines can swim. -- Edsger W. Dijkstra
More information about the PLUG
mailing list