Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Switching off a key

 
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
 
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
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic