- User Since
- Jun 14 2021, 12:56 AM (6 w, 4 d)
Fri, Jul 23
I pressed shift, alt, ctrl, shift + A, alt + A, ctrl + A, in that order. It seems my device causes the codes to be logged twice. Is that normal?
Wed, Jul 21
Tue, Jul 20
Mon, Jul 19
@Kenny o (Kenolisauce) Here is the build: https://blender.community/c/graphicall/dN9z/ It will output all keycodes to C:\\event_log.txt so if you send back the contents of that hopefully we can get this sorted out, be sure to try Shift, Ctrl and Alt with and without keys combined. Thanks so much!
Sun, Jul 18
Sun, Jul 11
I've done some digging and multiple sources (including the one mentioned by @Nicholas Rishel (nicholas_rishel)) suggest using MapVirtualKey with the flag MAPVK_VSC_TO_VK_EX to differentiate left and right shift safely, rather than attempting to make sense of the scancodes directly.
All of this being unfortunately theoretical for me at the moment, since I can't test the tablet in question. I did confirm that Shift stays held during numlock 1,2,3 (hopefully no regression to Fix #29932) at least with the AT-style keyboard that I had available.
Sat, Jul 10
Hi, I can take this, but I will need someone to test on actual hardware for me once I have a potential solution.
Jun 29 2021
I've done some digging and found the cause of the NaNs to be the initial linear system becoming filled with Infs, which in turn is because the 'areas' associated with loose edges are 0. There seem to be flags to detect 0 area already, but I believe they don't account for the system itself filling up with Inf and then giving an incorrect result.
Jun 27 2021
@Nicholas Rishel (nicholas_rishel) Hmm I see what you mean. That also doesn't help much if the scroll wheel is associated with another function entirely. I guess the most ideal solution would be to pass the event back to the WM to be handled by the next handler somehow? I would have thought returning with the flag OPERATOR_PASS_THROUGH would allow this but it doesn't seem to work.
Jun 26 2021
Removed change to poll callback, seems to work with original!
Changing move's poll callback to allow scroll events, and then accepting and handling the events in the move's modal callback seems to allow scrolling while moving the view for me. I've uploaded a patch here: https://developer.blender.org/differential/diff/38779/ and would be grateful for review! :)
Jun 23 2021
I don't have an MX master mouse but I am able to simulate the effect by holding down the middle mouse button and scrolling (suggested to me by @Nicholas Rishel (nicholas_rishel)) so I will take a crack at it!