How to control keyboard LEDs without affecting...
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
9 posts
Page 1 of 1
Hi, I want to know how can I control the keyboard LEDs(Caps, Num, Scrl) without affecting it's actual function?
Don't get what I mean? Damn.
What I mean that is I wanted to create a function that allows the user to toggle the LEDs on the keyboard without actually toggling it, example : the caps lock light turns on but you won't be typing in CAPS.
I was trying to implement the function in Audica(sourceforge.net/projects/audica). which can control the LEDs on a PS/2 keyboard.
Don't get what I mean? Damn.
What I mean that is I wanted to create a function that allows the user to toggle the LEDs on the keyboard without actually toggling it, example : the caps lock light turns on but you won't be typing in CAPS.
I was trying to implement the function in Audica(sourceforge.net/projects/audica). which can control the LEDs on a PS/2 keyboard.
You've been RICKROLL'D
i Would like too know this, I want too see what i can create with it, haha
Hello,
I found this question interesting so I investigated and finally found some code which worked. It isnt mine and I converted the code from C# to VB and shrunk it all down to its basics for you. I use 3 buttons to toggle the LEDS and another to start a timer to make them "dance".
Download: Its not the cleanest code but should get you started cooll;
Original author: Amit Engineer
Original Source: http://www.codeproject.com/KB/gadgets/T ... sg=3334286
I found this question interesting so I investigated and finally found some code which worked. It isnt mine and I converted the code from C# to VB and shrunk it all down to its basics for you. I use 3 buttons to toggle the LEDS and another to start a timer to make them "dance".
Download: Its not the cleanest code but should get you started cooll;
Original author: Amit Engineer
Original Source: http://www.codeproject.com/KB/gadgets/T ... sg=3334286
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
omg codenstuff that is great, thanks for the find 

Sorry, CnS, but that's not exactly what I wanted, you see, I can use the following codes :
my.computer.keyboard.sendkeys("{CAPSLOCK}")
to enable the caps lock light, but please READ the title, I wanted the keyboard light to light up but not affecting the actual usage, the code you sent to me, affects the way I type and the jumplist(Win 7) won't show up because of the timer, please note, what I wanted is simple, keyboard light without affecting anything, don't believe it can be achieved? see this program here(sourceforge.net/projects/audica), you need a PS/2 keyboard for the lights, however, I cant copy the code since it's written in VB6, and there's no converter for VB6.0 to Vb.NET, meh, I felt my ONE credit is sort of, wasted for something I not exactly wanted.
my.computer.keyboard.sendkeys("{CAPSLOCK}")
to enable the caps lock light, but please READ the title, I wanted the keyboard light to light up but not affecting the actual usage, the code you sent to me, affects the way I type and the jumplist(Win 7) won't show up because of the timer, please note, what I wanted is simple, keyboard light without affecting anything, don't believe it can be achieved? see this program here(sourceforge.net/projects/audica), you need a PS/2 keyboard for the lights, however, I cant copy the code since it's written in VB6, and there's no converter for VB6.0 to Vb.NET, meh, I felt my ONE credit is sort of, wasted for something I not exactly wanted.
You've been RICKROLL'D
Hello,
Hmm well I dont have VB6 but I tried the application and it works in the same way. What is happening is its making the keyboard LEDs flash but as soon as you start typing it stops the flashing and resets them to the original state...when you stop typing it starts flashing the LEDs again.
So its probably just using a keyboard hook or something and stopping the lights when a key press is detected.
Hmm well I dont have VB6 but I tried the application and it works in the same way. What is happening is its making the keyboard LEDs flash but as soon as you start typing it stops the flashing and resets them to the original state...when you stop typing it starts flashing the LEDs again.
So its probably just using a keyboard hook or something and stopping the lights when a key press is detected.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
I'd assume if you want to control the keyboard LEDs without the OS thinking the lock state is on you would have to do it through a keyboard driver (or somehow send the keyboard a command without the OS noticing it).
In the old days it could have been done by writing to port 0x60.
In the old days it could have been done by writing to port 0x60.
frozerlaxegon wrote:Sorry, CnS, but that's not exactly what I wanted, you see, I can use the following codes :in visual basic there is a converter under tools
my.computer.keyboard.sendkeys("{CAPSLOCK}")
to enable the caps lock light, but please READ the title, I wanted the keyboard light to light up but not affecting the actual usage, the code you sent to me, affects the way I type and the jumplist(Win 7) won't show up because of the timer, please note, what I wanted is simple, keyboard light without affecting anything, don't believe it can be achieved? see this program here(sourceforge.net/projects/audica), you need a PS/2 keyboard for the lights, however, I cant copy the code since it's written in VB6, and there's no converter for VB6.0 to Vb.NET, meh, I felt my ONE credit is sort of, wasted for something I not exactly wanted.
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

9 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023