Continue to Site

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.

Hi i'm making a Gamepad using VB i have to send letter 'a' continuously

Status
Not open for further replies.

Deexith Hasan

Advanced Member level 4
Joined
Oct 24, 2014
Messages
111
Helped
4
Reputation
8
Reaction score
3
Trophy points
18
Activity points
740
Hi i'm making a Gamepad using VB i have to send letter 'a' continuously to move forward....i.e i need keyboard.press 'a' and keyboard.release 'a' functions.
i used sendkeys but didnt worked..man didnt move becoz sendkeys press and release 'a' continuosly
i used keybd_event but didnt worked


i need some vb code : one button that press 'a' (aaaaaaaaaaaaaaaa)
another button releases 'a' (a stops typing)
 

Hi,

maybe use a timer: set it up to timeout every 200ms (or what you need)
* on timer event use: sendkey "a"

enable/disable the timer as you like

Klaus
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top