Windows 10: Pressing '0' (zero) yields 'q', regardless of keyboard and layout Solved

  1.    04 Sep 2016 #1

    Pressing '0' (zero) yields 'q', regardless of keyboard and layout

    I'm running Windows 10 on a Surface Pro 4. I have made a custom keyboard layout in Microsoft Keyboard Layout Creator.I have 2 keyboards. One with norwegian physical layout.

    Using any of the two keyboards, and any layout/language input method in Windows 10 (English US, Norwegian, my own custom one), when I press '0' (zero), I get 'q'. Pressing Shift+'0' yields 'Q'.

    Pressing 0 on either keyboard in Linux yields 0.
      My ComputerSystem Spec

  2. Posts : 15
    Windows 10/OS X 10.11 ADP
       04 Sep 2016 #2

    Your custom layout has swapped the character q with 0.

    Go back to Layout creator and manually reassign that key individually. The fact that you have not mentioned that pressing the 'q' key gives you an '0' makes me think that it's simply an assignment error.
      My ComputerSystem Spec

  3.    04 Sep 2016 #3

    It doesn't appear like my layout swaps the two keys:

    Click image for larger version. 

Name:	AReNIVR.png 
Views:	3 
Size:	55.3 KB 
ID:	99819

    Pressing 'q' yields 'q'.

    And as I said, this happens regardless of which layout is used in Windows. My custom layout is called "atomic layout".

    Click image for larger version. 

Name:	2fzB9iT.png 
Views:	0 
Size:	39.0 KB 
ID:	99821
    When "Norwegian keyboard" is selected, it clearly writes using Norwegian layout, and not "atomic".

    PS: Using KeyCodes3.exe, this is the output I get when I press the 'q' and '0' keys, respectively (couldn't copy):

    Click image for larger version. 

Name:	AxCSHQZ.png 
Views:	0 
Size:	18.6 KB 
ID:	99823
      My ComputerSystem Spec

  4. Posts : 15
    Windows 10/OS X 10.11 ADP
       04 Sep 2016 #4

    Your top row should contain numbers. You have special characters there, but it is likely that because they require modifier keys (specifically Alt) to be pressed to create them, only the rest of the combination is created by pressing the button.

    It should look like this:

    Click image for larger version. 

Name:	aa9b80f458.png 
Views:	0 
Size:	21.8 KB 
ID:	99828
      My ComputerSystem Spec

  5.    04 Sep 2016 #5

    I don't use my top row for numbers. Instead, I programmed my keyboard to send Num Pad keycodes on some keys that I use for numbers. The symbols up to '[' are deliberate, and they all work. The bullet and forth were just to see if I could produce those keycodes with my keyboard. So I suppose if '0' would work properly, pressing '0' on my keyboard would give a bullet in the 'atomic' layout, and just a '0' in the Norwegian or English US layouts. I just tested with a '0' instead of a bullet (by "Project -> Test Keyboard Layout...") and '0' still doesn't work.

    However, I don't understand what my custom layout has to do with the problem, since I have the same problem using any layout. Not sure what you mean with the modifier keys - I don't need to press any modifier keys to get the symbols I want (except 0 which doesn't work).

    Edit: I can also use the custom layout in the virtual keyboard. Now, I changed zero to be '?', which it ought to be, rather than the bullet. In the virtual keyboard, I can press that button fine and get a questionmark:
    Click image for larger version. 

Name:	eBOQwCH.png 
Views:	5 
Size:	35.1 KB 
ID:	99855.
    Last edited by lala; 05 Sep 2016 at 12:55.
      My ComputerSystem Spec

  6.    05 Sep 2016 #6

    Bumping. I need the key to work.
      My ComputerSystem Spec

  7.    05 Sep 2016 #7


    You don't say which physical key you used for the "zero" that turns out like a "q". What key is it on the U.S. standard keyboard (the one shown by StarEmpire)? I don't know Norwegian nor the Surface, but I see the following possibilities:

    – Could you have assigned a non-assignable key, like the backspace?
    The backspace can be reassigned, but sometimes with really strange results.

    – The Surface has a virtual embedded numerical keyboard that is activated when you press Fn. I think you can reaffect the numerical keys in Keyboard Creator, and I know you can do so on a standard computer with an extended keyboard (just reaffect those keys on the numerical keypad). And I know from personal experience that you will get unpredictable results if you have configured the keyboard while the Fn key is depressed. So either check your keyboard map carefully while Fn is activated and not activated to make sure that you have digits on the virtual numerical keyboard and letters, digits and symbols on the normal one. Or save the file and install it on a standard computer with an extended keyboard, and check that everything is as it should be.

    – Dead keys are used in many languages like French for accented letters. For example, to type "", one needs to type "^" followed by "u". In this case, the "^" is a dead key, which means nothing happens until the next character is typed. So an improbable one: could you have assigned that zero on a dead key?

    – Last but not least, there might be a glitch in the keyboard file you have programmed. Put a standard keyboard as the default one, remove your personalized layout (Control Panel –> Programs –> Uninstall), and restart the system. What happens will tell you if the problem lies in the configuration file or elsewhere.
      My ComputerSystem Spec

  8.    06 Sep 2016 #8

    Hi, and thanks for the reply.

    When I uninstall my layout, I still have the problem. Does this mean we can rule out my custom layout and Keyboard Layout Creator?

    The rest of the this post is maybe irrelevant if that is the case.

    As for which key exactly that I use for '0', in the Norwegian layout, it's just the '0' button. This button is the same in US layout too I think. (If you're wondering since I said I don't use top row for numbers, I intend to use '0' for question mark, but for now I just need that button it to work and not send 'q').

    Attachment 100081

    I don't have an Fn button, I think. And I'm pretty sure I haven't touched dead keys.
      My ComputerSystem Spec

  9.    07 Sep 2016 #9

    Bumping again. But I just read that I have free access to "Answer Desk" support for 90 days. It's not open right now though. If nothing works, I guess I will need to reinstall Windows if that's possible.
      My ComputerSystem Spec

  10.    11 Sep 2016 #10

    Problem solved in the latest windows update.
    I assume that it isn't due to the update itself, but rather, the update made the Surface restart 'for real' (rather than hibernate kernel) and reset some things... please correct me if I'm wrong.
      My ComputerSystem Spec


Related Threads
Keyboard Settings/Layout in Drivers and Hardware
My keyboard layout has been changed after using a new computer. " and @ has switched places and my hex has turned into . Is there a way to fix this problem? Thank you.
Hi, I sometimes connect to my Windows 10 PC at my work place from home. When I was using Windows-7(work place PC), I was able to select the menu button (lower-left) and select 'Lock Screen' menu from the shutdown sub-menu. I recently received a...
Keyboard layout in General Support
Hello, I have Windows 10 with English interface language and German keyboard layout (ENG-DE). Periodically the ENG-US keyboard is added (The language bar appears again), even if the US layout it is not listed in the language options (???) At this...
I've got a weird one... anyone else had the ability to unlock (meaning swipe away the lock screen to get to the password screen) by pressing a key on the keyboard go away? In other words, I used to be able to walk up to my computer and press the...
Second keyboard layout in General Support
Hi all, I have just installed win10 64bit and am at a loss on how to install a second keyboard layout. I am learning Russian and had the Cyrillic keyboard with my old win7 os. I looked at the language packs but do not want to change all of my os to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:20.
Find Us