Click here to Skip to main content
12,450,977 members (53,379 online)
Click here to Skip to main content

Stats

1.3M views
36.5K downloads
200 bookmarked
Posted

Using Raw Input from C# to handle multiple keyboards

, , 9 Mar 2015 GPL3
Windows XP supports multiple keyboards, but by default, the .Net Framework will treat them all as one. This article explains how to use the Windows API Raw Input methods to support multiple keyboards from a C# application.
rawinput_2
Keyboard
Properties
RawInput
RawInput.csproj.user
Properties
rawinput latest
Keyboard
Properties
RawInput
docs
Values for keyboard make-break (scan) code.pdf
Properties
RawInput.csproj.user
RawStuff.sln.docstates.suo
RawStuff.sln.DotSettings
RawStuff.sln.DotSettings.user
RawStuff.suo
RawStuff.v12.suo
RawInput
Winfx RawInput
WindowsApplication1
WPFRawInput.suo
WindowsApplication1
bin
Debug
WPFRawInput.exe
Properties

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

Share

About the Authors

Steve Messer
Software Developer (Senior)
United States United States
No Biography provided

Emma Burrows
Software Developer
United Kingdom United Kingdom
Emma's first steps in programming took place at primary school over thirty years ago, thanks to a TI-99/4A and the LOGO language. Following a Master's degree in English Studies (obtained, strangely enough, with a paper on the birth of the microcomputer), Emma started her career in IT.

Over the last ten years, she has worked as a localiser, technical writer, editor, web designer, systems administrator, team leader and support engineer, before finally making the move into software development a few years ago. She is now thrilled on a daily basis that she is getting paid for writing code after doing it for free half her life!

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160826.1 | Last Updated 9 Mar 2015
Article Copyright 2007 by Steve Messer, Emma Burrows
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid