Solved

Multiple Keyboards

Posted on 2004-10-12
13
413 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
Comment Utility
0
 

Author Comment

by:zac_twidale
Comment Utility
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
Comment Utility
0
 
LVL 48

Expert Comment

by:Mikal613
Comment Utility
thanks ;) /
0
 
LVL 27

Expert Comment

by:planocz
Comment Utility
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
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 200 total points
Comment Utility
0
 
LVL 27

Expert Comment

by:planocz
Comment Utility
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
Comment Utility
Hi zac_twidale,

Have you worked thru this problem?
0
 

Author Comment

by:zac_twidale
Comment Utility
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
Comment Utility
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
Comment Utility
Sounds like a pretty good lead.  Thanks for that
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

13 Experts available now in Live!

Get 1:1 Help Now