Solved

Multiple Keyboards

Posted on 2004-10-12
13
414 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
  • 4
  • 3
  • 2
  • +2
13 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 12294556
0
 

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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now