DougHamil / DragonbornSpeaksNaturally

SkyrimVR mod for dialogue and other voice control
MIT License
20 stars 21 forks source link

VR support? #14

Open clandorf opened 5 years ago

clandorf commented 5 years ago

thanks for the work you've done here.

Wasn't sure where to comment/ask - do the keypress commands integration work on VR?

Done a bunch of other mods for VR here, installing in a second and will be testing shortly. Happy to be a QA/test user if helpful. (am hoping to use this in conjunction with way of the voice)

Odie commented 5 years ago

I very rarely use the keypress commands, but it did appear to work with SkyrimVR when tested briefly. You may have to make sure the game is the active window.

SwimmingTiger commented 5 years ago

All SSE keyboard shortcuts are available in SkyrimVR, so you can use the press <key> command to do everything in SkyrimVR, including to cast a left or right hand skill. The following commands work with both SSE and SkyrimVR:

Release Dragon Shout=press z 1000
Open Map=press m
Close Map=press m
Open taskbar=press esc
Left Hand Magic=press leftmousebutton 5000
Right Hand Magic=press rightmousebutton 5000
Use something=press e

And just like Odie said, you have to make sure the game is the active window. If it is not always, you can add the switchwindow command before each command.

Release Dragon Shout=switchwindow; press z 1000
Open Map=switchwindow; press m
Close Map=switchwindow; press m
Open taskbar=switchwindow; press esc
Left Hand Magic=switchwindow; press leftmousebutton 5000
Right Hand Magic=switchwindow; press rightmousebutton 5000
Use something=switchwindow; press e

Note: Inserting an XBox controller may cause keyboard shortcuts to no longer be available and cause the press series commands of DSN to fail. You need to modify the keyboard mapping like this: Https://www.nexusmods.com/skyrim/mods/30913