Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Creating USB keyboard for PC with custom keys

Status
Not open for further replies.

mahesXtremeEngineering

Advanced Member level 4
Joined
Dec 17, 2011
Messages
103
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
1,832
I would like to design a small usb keyboard with custom keys(UP,DOWN,RIGHT,LEFT) which can be used as game controllers. How keystrokes are recognized by PC through Usb. Which micro controller can perform this action.
 

nikhilele

Advanced Member level 3
Joined
Jan 11, 2006
Messages
805
Helped
101
Reputation
202
Reaction score
76
Trophy points
1,308
Location
Bangalore India
Activity points
6,375
I personally think developing PS2 keyboard will be more easier..cheaper and faster
 

Buriedcode

Full Member level 6
Joined
May 6, 2004
Messages
357
Helped
43
Reputation
86
Reaction score
7
Trophy points
1,298
Location
London
Activity points
8,887
I personally think developing PS2 keyboard will be more easier..cheaper and faster

Indeed it will, even a small 8-pin micro could do it. However, whilst most desktops still support PS2, few laptops still do. I have seen the software AVR-USB (can't remember what they're calling it now..) which can emulate a USB PC keyboard using the native windows drivers. As for custom keys, you may have to write your own application for that.
 

wavelet1208

Member level 2
Joined
Oct 28, 2011
Messages
52
Helped
11
Reputation
22
Reaction score
11
Trophy points
1,288
Activity points
1,507
I would like to design a small usb keyboard with custom keys(UP,DOWN,RIGHT,LEFT) which can be used as game controllers. How keystrokes are recognized by PC through Usb. Which micro controller can perform this action.

Maybe u can used this chip of STM32F10x.And i used it to connect with PC by USB HID,i thik it so esay to do you wanted.Here two links is a example to show how to used the STM32 to communication with PC.
**broken link removed**

**broken link removed**
And it's include Mass_Storage,JoyStickMouse,Custom_HID... examples.good luck.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top