Solved

Multiple Keyboards

Posted on 2004-10-12
13
427 Views
Last Modified: 2010-04-23
I am planning to write an application involving a rewired keyboard plugged in to a laptop, to enable a large number of dedicated function keys, simplifying the user interface.

Is there anyway to differentiate between input from the inbuilt keyboard and the rewired external one?  

Or as a secondary solution, is there anyway to temporarily disable the internal keyboard when I go into the phase of the program which I'm designing the external keyboard for?
0
Comment
Question by:zac_twidale
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
13 Comments
 

Author Comment

by:zac_twidale
ID: 12295505
Still trying to make sense of the first link, (a lot of unfamiliar stuff in there).  But the second link goes nowhere.
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12295879
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 48

Expert Comment

by:Mikal613
ID: 12297279
thanks ;) /
0
 
LVL 27

Expert Comment

by:planocz
ID: 12299675
One way is to intercept the keypress's with this sample....

   Protected Overrides Function ProcessCmdKey(ByRef msg As System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys) As Boolean
        Const WM_KEYDOWN As Integer = &H100
        Const WM_SYSKEYDOWN As Integer = &H104
        Dim e As System.EventArgs

        If ((msg.Msg = WM_KEYDOWN) Or (msg.Msg = WM_SYSKEYDOWN)) Then
            Select Case (keyData)
                'The Number Key Pads, 10 key and regular 0-9 keys
            Case Keys.NumPad0, Keys.D0
                    'Do something
                Case Keys.NumPad1, Keys.D1
                    'Do something
                Case Keys.NumPad2, Keys.D2
                     'Do something
            End Select
        End If
        Return MyBase.ProcessCmdKey(msg, keyData)
    End Function
0
 

Author Comment

by:zac_twidale
ID: 12303605
I'll go through the suggested solutions in detail, but they seem to address various means of intercepting keyboard input (which I can do).  They don't look at how to differentiate between which keyboard the input came from.

And those that look at disabling the keyboard don't seem to address how to disable one keyboard, but not the other.
0
 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 200 total points
ID: 12304919
0
 
LVL 27

Expert Comment

by:planocz
ID: 12307025
you said "rewired external one". I think the best route to go would be to leave the key board as a standard key board
and just intercept the input keys  with the code I gave you.
0
 
LVL 27

Expert Comment

by:planocz
ID: 12615860
Hi zac_twidale,

Have you worked thru this problem?
0
 

Author Comment

by:zac_twidale
ID: 12620733
Nope, not yet.  armoghan's link helps a little, and I have got hold of the DDK, but am still a long way from making sense of it.
0
 
LVL 6

Accepted Solution

by:
The_Biochemist earned 300 total points
ID: 12776072
Slight sidetrack from your question...

Have you ever heard of a concept keyboard? A4 or A3 sized devices with upto 256 programmable touch sensitive pads. They are generally used for students with learning difficulties but are also used for many other solutions and are quite cheap too.

I had to create a user friendly professional video editing suite and found that concpet keyboards are perfect for adding extra keyboard type functionality to an application.

http://assistive.traxsys.com/staticproduct.asp?strAreaNo=2001_4&intElement=328

just a thought
0
 

Author Comment

by:zac_twidale
ID: 12779220
Sounds like a pretty good lead.  Thanks for that
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question