OpenBVE
OpenBVE copied to clipboard
[Suggestion] Allow the viewer to set key commands
Description
The default numeric keypad camera control in the viewer's is not very convenient for users without a numeric keypad. I want to change the keys myself, but the viewers does not provide control configuration.
Leaving aside WASD and directional keys.
Haven't looked at this issue for a long time.
After releasing the setted key, the camera did not stop moving. The button icons in the interface have not been updated. There is a problem with changing the 'backward' key, as it did not apply the changes but instead used the value of 'forward'.
The initial key is not commonly used. Please swap 'forward(q)' and 'backward(e)' for 'up(w)' and 'down(s)'.
My fault- forgot to handle the key-up events. I've fixed this.
I'm not sure why closing the options dialog is failing for you- It doesn't for me. What did you do before you attempted to close the dialog?
I tried to change the key and click close to save.
I manually entered instead of using the dropdown menu to change keys. so
OK, that might not work right- Not expected you to try that :)
If you use the dropdown, this should be OK. I'll disable typing in there for the next build (might be a few days)
I mention the remaining camera reset commands and camera controls related to the route viewer.
Urge...
And
OK, that might not work right- Not expected you to try that :)
If you use the dropdown, this should be OK. I'll disable typing in there for the next build (might be a few days)
I can't reproduce the issue in your image (although this may be because of the re-write of the CFG loader in relatively recent builds) Note that the CFG is only saved when the window is closed however.
I've fixed the editing of the boxes though, thanks for reminding me.
Thank you.
I want to explain.
When I confirmed the title, I think I used the plural form of Viewers, and I think I should mention both Object Viewer and RouteViewer. But this also brings some descriptive issues. I apologize.
I apologize for not providing an explanation for the unfinished task as I was eager to close the issue.
Probably
- Allow the RouteViewer to set key commands.
- The button icons in the interface have not been updated due to key changes.