Re: NVDA on a Lenovo Miix 630 - no modifier key at all


Tyler Spivey
 

Yes, assuming your keyboard doesn't have the same problem with it.

You have two options here:
1. Remap with SharpKeys. You then can't use that key for anything except
a modifier. Since it's your < key, you might not want that. Besides
that, I tried getting the press key feature to work, and couldn't, and I
don't know where it is in the list.
2. I can just write an addon that will make NVDA think that key is your
modifier; I have most of the code already. To do that, I need the VK
code of that key.

My keyboard doesn't have that key, so you'll have to find this. Here's how:

Go into the NVDA Python console and paste these two lines in. You'll
then have 15 seconds to hit whatever key you want to find the key code
of, so hit that key a few times.
Once you have the code attached to that key, send it here, I'll fix my
addon and send it to you.

import ui;c = lambda vk, scan, extended, injected: (0,
ui.message(str(vk)))[0]
import keyboardHandler, winInputHook;x=wx.CallLater(10000,
winInputHook.setCallbacks,
keyDown=keyboardHandler.internal_keyDownEvent,
keyUp=keyboardHandler.internal_keyUpEvent);winInputHook.setCallbacks(keyDown=c,
keyUp=c)

On 5/30/2020 1:40 AM, Isak Sand wrote:
Hello,

This is my guess too. This particular keyboard model just does not
accept any other keys to be pressed together with Caps Lock, and I will
discuss the issue with Lenovo.

But then, if we for a while forget about the Caps Lock and other, so to
speak, traditional NVDA modifier keys that simply do not seem to work.
Would there be a reasonably easy way to get the < key to act as a NVDA
modifier key? It could be a good solution at least temporarily.
In the Finnish keyboard layout the < key is the one sitting between left
Shift and z; I think it isĀ  back slash (\) in the US English one.

Join nvda@nvda.groups.io to automatically receive all group messages.