Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Switching off a key

 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know of any way to switch off a key (specifically the NUM LOCK key), via Java? I can get it to do all sorts of things but how do I get it to not do stuff?
I've asked this question a couple of times already but I'm still waiting for the answer. I hope someone can point me in the right direction.
Many thanks.
Paul
 
Ryan Langley
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm not sure that the Num Lock key can be switched off. It is a somewhat vague question. Why do you want to turn the num lock key off? An answer to that question would probably give you more feedback to your real problem. Just a suggestion!
Cheers,
RL
 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm adapting an application to be used by blind users. They want to use the numeric keypad to navigate around the screen - and only navigate around the screen. Data entry is required at some points so there will be a problem if they use Num Lock to navigate to the top right and then try to use '3' to navigate back down again. Instead, the number 3 will be entered. Another time, the number 3 will be treated like a downward key and confusion will be rife. The entire numeric keypad is to be used for navigation only so I want to ignore everything else the keys do. Also, the navigation it's to be used for is not the non-Num Lock navigation. It is to be an entirely new navigation. This is not my idea.
I hope this is possible but something tells me it must be.
Thanks for your response.
Paul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic