Jump to content

Hey guys!

Im not into programming, the only programming I have ever done was a little HTML, and that was 6-7 years ago..

But I joined geekhack and Deskthority and im considering getting a custom keyboard and then programming it myself.. but I have no idea where to start or even what coding laguage keyboards use. (is it called a language?)

thanks in advance,

Winther

(Comming soon)

Link to comment
https://linustechtips.com/topic/4214-keyboard-programming/
Share on other sites

Link to post
Share on other sites

Well, if its USB you'd need a driver to listen for the events coming from the USB, this would expose an API that you can use in the programming language of your choice. Starting to rpgram for a hardware device probably isn't the best way to get into programming. Go and learn C/C++ and get comfortable there first.

Arch Linux on Samsung 840 EVO 120GB: Startup finished in 1.334s (kernel) + 224ms (userspace) = 1.559s | U mad windoze..?

Link to comment
https://linustechtips.com/topic/4214-keyboard-programming/#findComment-50999
Share on other sites

Link to post
Share on other sites

If you want you can check the Arduino Leonardo.

It is a microcontroller that can emulate a mouse or keyboard as well as do many other things

For more reference check this page on the arduino website: http://arduino.cc/en/Reference/MouseKeyboard

Link to comment
https://linustechtips.com/topic/4214-keyboard-programming/#findComment-54934
Share on other sites

Link to post
Share on other sites

Well' date=' if its USB you'd need a driver to listen for the events coming from the USB, this would expose an API that you can use in the programming language of your choice. Starting to rpgram for a hardware device probably isn't the best way to get into programming. Go and learn C/C++ and get comfortable there first.[/quote']

I agree, its best to get comfortable with the concepts of programming first. Otherwise you'll be biting off more than you can chew, and you may get frustrated and quit. Couple great learning resources are codingbat.com and w3schools.com

Link to comment
https://linustechtips.com/topic/4214-keyboard-programming/#findComment-54970
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×