Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use WASD keys in CTRL+F11 camera view #122

Open
tygra09 opened this issue Feb 25, 2024 · 10 comments
Open

Unable to use WASD keys in CTRL+F11 camera view #122

tygra09 opened this issue Feb 25, 2024 · 10 comments
Labels
not-reproduced Unable to reproduce question Further information is requested

Comments

@tygra09
Copy link

tygra09 commented Feb 25, 2024

Hi!
After using the mod, some commands on the keyboard in the game are blocked. For example, if after using the mod to open the flight on the drone (Ctrl+F11), it is impossible to control it with the WASD keyboard.

@okopanja
Copy link
Owner

It's a bit more complicated but I will, try to reproduce the problem. When talking about drone I am not 100% sure what you mean, I gather this is some special view. Do I need to spaw the in-game drones for this.
In general SharkPlanner has to interact with keyboard to some degree:

  1. CTRL+SHIFT+SPACE is used to toggle the SharkPlanner visibility. This was carefully selected to avoid conflicts with default DCS and module keybindings.
  2. Certain keys are blocked when the SharkPlanner is displayed:
    1. SPACE, ENTER, DEL, BACKSPACE are used to support faster keyboard input
    2. ARROW keys are used to navigate the list of waypoints, as well used by some options controls
  3. In Hotkeys active even when sharkplanner is hidden #111 I tried to fix issue where the SPACE/ENTER/DEL/BACKSPACE were still monitored by SharkPlanner even when hidden. Sadly I did not test, and in keyboard hotkeys must not be triggered while sharkplanner is hidden #113 I have fixed the issue, but keyboard hotkeys must not be triggered while sharkplanner is hidden #113 is not part of the last release.

At the moment I am working on 1.6.0 release: https://github.com/okopanja/SharkPlanner/milestone/12

Since it will take some time before 1.6.0 (it brings some improvements and bug fixes), I will consider the possibility of create 1.5.3 to include #113 and fix for #121.

@okopanja okopanja added this to the v1.5.3 milestone Feb 25, 2024
@tygra09
Copy link
Author

tygra09 commented Feb 25, 2024 via email

@okopanja
Copy link
Owner

OK, it looks like you meant LCTRL+F11 (very cool, I did not know this), which will derive the "drone" view from what ever is visible at that moment.
I could not reproduced it with my latest work.

I will have to go outside for the next 3-4 hours. Meanwhile take a look at this (still processing high res) and let me know if this is the drone view you meant:

https://youtu.be/Nh6Sra5yLgI

Also: I need to know exact version you are using, so I can reproduce it better.

@tygra09
Copy link
Author

tygra09 commented Feb 25, 2024 via email

@okopanja
Copy link
Owner

I've just tried the with 1.5.2 and could not replicate the issue.
The only way I found that WASD will not work is if I switch to LCTRL+F11 and do not hide the sharkplanner. E.g. if I hide it WASD starts working again.

If your issue is not what I just described:

  1. attach dcs.log and SharkPlanner.log (try to start DCS fresh)
  2. create small video (first send logs so you do not waste effort if it is something we can deduce from logs).

@okopanja
Copy link
Owner

okopanja commented Mar 1, 2024

@tygra09 any news on your side in respect to my last comment? :)

@okopanja okopanja added the question Further information is requested label Mar 3, 2024
@okopanja okopanja removed this from the v1.5.3 milestone Mar 3, 2024
@okopanja okopanja changed the title KA-50 v3 2022 bug Unable to use WASD keys in CTRL+F11 camera view Mar 3, 2024
@okopanja okopanja added the not-reproduced Unable to reproduce label Mar 5, 2024
@okopanja
Copy link
Owner

@tygra09 within #133 I fixed an issue causing the keybindings to be stolen when user click Hide button. Hotkey was not affected by this.

Please confirm if v1.6.1 fixes your issue.

If not my questions from before still stand.

@tygra09
Copy link
Author

tygra09 commented Jun 3, 2024 via email

@okopanja
Copy link
Owner

Please add Attach the dcs.log and SharkPlanner.log.
I will retest when I get home to confirm if there is issue.

@EccentricxMD
Copy link

For me, 1.6.2 ctrl-shift-space didn’t work. Works with 1.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-reproduced Unable to reproduce question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants