Keyboard not working correctly in Visual Studio 2022

Chris Davies 80 Reputation points
2023-09-24T15:22:24.3733333+00:00

Running VS2022 17.7.4. Frequently only alpha numeric keys work. All function keys, backspace etc not working. Keyboard works fine in all other programs. Reset Key mapping has no effect.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,616 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Kevin Tharp 15 Reputation points
    2024-02-15T16:23:35.63+00:00

    I kept encountering a version of this issue and finally found that doing a Ctrl-Tab to change editor windows resolved it for my situation. Haven't had a time that this hasn't worked. This was with VS 17.8.4.

    3 people found this answer helpful.

  2. Anna Xiu-MSFT 25,796 Reputation points Microsoft Vendor
    2023-09-25T07:39:42.4366667+00:00

    Hi @Chris Davies

    Welcome to Microsoft Q&A! 

    Please try the following workarounds:

    1. Reset the VS settings by going to Tools > Import and Export settings > Reset all settings.
    2. Repair VS using Visual Studio Installer > More > Repair.
    3. Re-launch the VS2022 and check that it works properly. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  3. Ruth Amui 0 Reputation points
    2024-01-04T07:03:18.4666667+00:00

    I've also been struggling for months with this issue. I have tried all the solutions I can find online including the ones listed here without success. I have even uninstalled and reinstalled Visual Studio. Only my F5 key works.


  4. Kevin Drapel 0 Reputation points
    2024-01-12T08:43:55.5+00:00

    I am running into the same issue and it has been for a long time in VS2022. Right now, I have the arrow keys that are not working at all. Sometimes the tab is not working too. Only way is to restart VS....

    0 comments No comments

  5. Donny Alumbaugh 0 Reputation points
    2024-04-24T13:01:50.01+00:00

    This problem started for me after updating to 17.9.6. I've seen the issue with the ctrl and backspace keys.

    0 comments No comments