[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Sending key-pressing input to a window
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Sending key-pressing input to a window
- From: Ian Mallett <geometrian@xxxxxxxxx>
- Date: Sun, 2 Aug 2009 18:22:24 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 02 Aug 2009 21:22:49 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=aixbswe+DvdEbeTBVAeVRRbnWHUPeFCi7u45evnMYos=; b=xYebeJDCoqlDS+XP7xd3mECo9o/jaMKQpRW31VvwIZjuhJxw0yk7Vygrq5yVBktDqx zC/FdrOfa1vyn+JCQGZhI/YxbusD2phLp/R67rRTMhLI3YDjEluRYqSqo7Bs5oRZtElG YM+B6sXhYKjQnlPPVKzOZB4ieE7YNW1UzvuAI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=QZjKTFW8YXL78kt9TLrAYPeRdX9GgQDF+eEn2bd+cT9o1u2Wav1HXhI1/Bh9sTJ+34 Y6NjSLOBtuaFB2U2dX2j7LiAVlgVDbPoLUBuE4z0v3+mJqd/bNoN9srR5454EHF71H2c 4y9J+Xgjwu6wW0CwZYbHF4RUgIhOHlbSau34w=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
I want to make a PyGame application that will send key press data to the currently active window. So, if I ran the program, and then switched to another window, the program should send data to that window just as if I had typed in that window. Can it be done with PyGame? Thanks,
Ian