Home > Archive > Flight simulator > April 2005 > voice commands, technical question about Shoot





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author voice commands, technical question about Shoot
John Doe

2005-04-09, 10:14 pm

Looking at the files which came with Shoot (speech-recognition, voice
activated commands), does anyone know what the file keymap.xml is
for?

I thought it was like a definition file but maybe it is out of sync
with the program? The keywords like CTRL and SHIFT used by the
program are not the keywords specified in the keymap.xml file.

Anyone familiar with that stuff? How can that file be used?

Thank you.
Mitch_A

2005-04-09, 10:14 pm

The keymap is pointing out the available keys (US) and the corresponding hex
addy. Different lang use diff layouts.

You need to edit the profiles which are in the drive\shoot\profiles. They
are xml files and can be edited with notepad.


Mitch


"John Doe" <jdoe@usenet.love.invalid> wrote in message
news:Xns962EC501DBE87wisdomfolly@207.115.63.158...
quote:

> Looking at the files which came with Shoot (speech-recognition, voice
> activated commands), does anyone know what the file keymap.xml is
> for?
>
> I thought it was like a definition file but maybe it is out of sync
> with the program? The keywords like CTRL and SHIFT used by the
> program are not the keywords specified in the keymap.xml file.
>
> Anyone familiar with that stuff? How can that file be used?
>
> Thank you.



Mitch_A

2005-04-09, 10:14 pm

Oh yea, restore the original keymap and any other edited files before you
begin again. If you use a US keyboard leave it alone once you have restored
it.

Mitch


"John Doe" <jdoe@usenet.love.invalid> wrote in message
news:Xns962EC501DBE87wisdomfolly@207.115.63.158...
quote:

> Looking at the files which came with Shoot (speech-recognition, voice
> activated commands), does anyone know what the file keymap.xml is
> for?
>
> I thought it was like a definition file but maybe it is out of sync
> with the program? The keywords like CTRL and SHIFT used by the
> program are not the keywords specified in the keymap.xml file.
>
> Anyone familiar with that stuff? How can that file be used?
>
> Thank you.



John Doe

2005-04-09, 10:14 pm

"Mitch_A" <naman@nospam.pacbell.net> wrote:
quote:

> The keymap is pointing out the available keys (US) and the
> corresponding hex addy. Different lang use diff layouts.


Why doesn't "LeftControl A" work like "CTRL A"?

Why aren't CTRL or SHIFT in the key map file?

I'm not being critical, I really want to know so I can use this
thing as a speech recognition front for my own system wide macro
recorder (which works in games too).
quote:

> You need to edit the profiles which are in the
> drive\shoot\profiles. They are xml files and can be edited with
> notepad.


Or Visual Studio C++. I got that, thanks.

Mitch_A

2005-04-09, 10:14 pm

It should but Id guess its game dependant. Some games map both ctrl as a
single key. All the keymap is doing is mapping the key on your keyboard to
its corresponding hex address. If LeftControl doesnt work just remap the
keymap and reverse left and right control hex addy's?

Mitch


"John Doe" <jdoe@usenet.love.invalid> wrote in message
news:Xns962ED6700870Fwisdomfolly@207.115.63.158...
quote:

> "Mitch_A" <naman@nospam.pacbell.net> wrote:
>
>
> Why doesn't "LeftControl A" work like "CTRL A"?
>
> Why aren't CTRL or SHIFT in the key map file?
>
> I'm not being critical, I really want to know so I can use this
> thing as a speech recognition front for my own system wide macro
> recorder (which works in games too).
>
>
> Or Visual Studio C++. I got that, thanks.
>



Kasey Chang \(remove EATSPAM to reply\)

2005-04-11, 4:39 am


"John Doe" <jdoe@usenet.love.invalid> wrote in message
news:Xns962ED6700870Fwisdomfolly@207.115.63.158...
quote:

> "Mitch_A" <naman@nospam.pacbell.net> wrote:
>
[vbcol=seagreen]
> Why doesn't "LeftControl A" work like "CTRL A"?


Left and Right Control keys generate different scan codes.
quote:

> Why aren't CTRL or SHIFT in the key map file?


Technically, those are not keys, but key modifiers. When you
hold those down, they produce a scan code, but also modify
scan codes of other keys pressed later.
quote:

> I'm not being critical, I really want to know so I can use this
> thing as a speech recognition front for my own system wide macro
> recorder (which works in games too).


Not by itself. It's just a nice template to put in all the keys and
such.
Sounds like you need to read up on how keyboard works and/or
Direct Input.

--KC


Mitch_A

2005-04-11, 6:46 pm

It should but Id guess its game dependant. Some games map both ctrl as a
single key. All the keymap is doing is mapping the key on your keyboard to
its corresponding hex address. If LeftControl doesnt work just remap the
keymap and reverse left and right control hex addy's?

Mitch


"John Doe" <jdoe@usenet.love.invalid> wrote in message
news:Xns962ED6700870Fwisdomfolly@207.115.63.158...
quote:

> "Mitch_A" <naman@nospam.pacbell.net> wrote:
>
>
> Why doesn't "LeftControl A" work like "CTRL A"?
>
> Why aren't CTRL or SHIFT in the key map file?
>
> I'm not being critical, I really want to know so I can use this
> thing as a speech recognition front for my own system wide macro
> recorder (which works in games too).
>
>
> Or Visual Studio C++. I got that, thanks.
>



Mitch_A

2005-04-11, 6:46 pm

The keymap is pointing out the available keys (US) and the corresponding hex
addy. Different lang use diff layouts.

You need to edit the profiles which are in the drive\shoot\profiles. They
are xml files and can be edited with notepad.


Mitch


"John Doe" <jdoe@usenet.love.invalid> wrote in message
news:Xns962EC501DBE87wisdomfolly@207.115.63.158...
quote:

> Looking at the files which came with Shoot (speech-recognition, voice
> activated commands), does anyone know what the file keymap.xml is
> for?
>
> I thought it was like a definition file but maybe it is out of sync
> with the program? The keywords like CTRL and SHIFT used by the
> program are not the keywords specified in the keymap.xml file.
>
> Anyone familiar with that stuff? How can that file be used?
>
> Thank you.



Mitch_A

2005-04-11, 6:46 pm

Oh yea, restore the original keymap and any other edited files before you
begin again. If you use a US keyboard leave it alone once you have restored
it.

Mitch


"John Doe" <jdoe@usenet.love.invalid> wrote in message
news:Xns962EC501DBE87wisdomfolly@207.115.63.158...
quote:

> Looking at the files which came with Shoot (speech-recognition, voice
> activated commands), does anyone know what the file keymap.xml is
> for?
>
> I thought it was like a definition file but maybe it is out of sync
> with the program? The keywords like CTRL and SHIFT used by the
> program are not the keywords specified in the keymap.xml file.
>
> Anyone familiar with that stuff? How can that file be used?
>
> Thank you.



John Doe

2005-04-11, 6:46 pm

"Mitch_A" <naman@nospam.pacbell.net> wrote:
quote:

> The keymap is pointing out the available keys (US) and the
> corresponding hex addy. Different lang use diff layouts.


Why doesn't "LeftControl A" work like "CTRL A"?

Why aren't CTRL or SHIFT in the key map file?

I'm not being critical, I really want to know so I can use this
thing as a speech recognition front for my own system wide macro
recorder (which works in games too).
quote:

> You need to edit the profiles which are in the
> drive\shoot\profiles. They are xml files and can be edited with
> notepad.


Or Visual Studio C++. I got that, thanks.

Copyright 2003 - 2008 gamesreviews.net Software forum  PC Hardware reviews