[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Low-level read input (mouse, HID devices)
- To: pygame-mirror-on-google-groups@xxxxxxxxxxxxxxxx
- Subject: [pygame] Low-level read input (mouse, HID devices)
- From: Mikhail V <mikhailwas@xxxxxxxxx>
- Date: Thu, 15 Jan 2015 15:05:02 -0800 (PST)
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 15 Jan 2015 18:05:05 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:mime-version:content-type; bh=y5UiR6rB77jLEpxoLApRJK8Eplbp2rumDSNoaJnUC20=; b=HXPerGcCus/UpUnM5b3D+yhPKvHnGOn/LGG2hQojESXCz9VYhkvTATa7pZx+6Zy6/q lk2QceBYURSBjIZwpvsxkEJah+ZMT8sUx2s8B2aFaMkZPD+an3I3IP6usRpCVkJ3kFs6 zRgQ56u3YjZBpHIEBGjpie/FQcdE2KCrSkuM+IV5NKF8DGvEPL2Hl5GwbLr89U8u23c8 TaYHpopS9LQ8tUB2ScWCpQfDvgTSV6cb0CA4AmJQg8F02XMizC9KKhnSLgDtwhGx37Q+ /xw/exTCKY0L6juDl6v+XbjrcLEMSIm8Gv/lDnkiMIwCTWjKeowkLcGb+uS9BDWPQgvM HcqQ==
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello pygame devs and users,
I have a simple task - I want to read input from the mouse - NOT the cursor position inside my window, but the actual input data from the device.
So currently I suppose it is not possible with Pygame. Is there a possiblity to add such capabilities to Pygame? I know that depends on the device type and connection so it is impossible to implement tools for all devices. But having tools to read low-level input at least for the mouse is absolutely a must for developing interactive applications.
If there is no chance with pygame then what would you recommend, say, for Windows and C/C++ to read from the mouse at low level?
Mikhail