Skip to main content

Mapping of Scratch to Warcraft (keyboard and Xbox) using iid42

Project description

PyPI: WowInt

PyPi: https://pypi.org/project/iid42 PyPi: https://pypi.org/project/wowint


Commencez à apprendre : pip install iid42 wowint

Cet outil a été créé pour aider à apprendre la programmation par le jeu.

Vous trouverez dans Scratch To Warcraft du code permettant de simuler des touches de clavier :

Vous pouvez également utiliser XOMI pour simuler des manettes Xbox sur Windows :

Si vous préférez injecter des touches, vous trouverez du code compatible avec Raspberry Pi Pico et ESP32 ici :

Si vous souhaitez héberger un serveur Raspberry Pi avec des clés d'accès pour IID42 :

Vous trouverez un tutoriel pour IID42 en Python, C#, et Unity3D ici :
https://github.com/EloiStree/2025_02_03_MonsLevelUpInGroup/issues/21

Start Learning: pip install iid42 wowint

This tool was created to help you learn programming through games.

In Scratch To Warcraft, you'll find code to simulate keyboard inputs:

You can also use XOMI to simulate Xbox controllers on Windows:

If you're more interested in injecting key inputs, you'll find code for the Raspberry Pi Pico and ESP32 here:

If you'd like to host a Raspberry Pi server with access keys for IID42:

You can find a tutorial for IID42 in Python, C#, and Unity3D here:
https://github.com/EloiStree/2025_02_03_MonsLevelUpInGroup/issues/21


It is as easy as this:

# pip install iid42
import wowint
from wowint import WowIntegerTarget
# Send IID to a UDP Gate Relay
# Replace 127.0.0.1 with the computer you want to target or the game server
# Example: 192.168.1.42  http://apint.ddns.net 
target = WowIntegerTarget("127.0.0.1",3615,0,True)
# Send the action 42 to the target with UDP to 127.0.0.1 computer on the applicaton behind 3615 port.
target.press_key_int(WowIntegerKeyboard.arrow_left,0)
# Send the action 42 to the player 2 to the target with UDP to 127.0.0.1 computer on the applicaton behind 3615 port.
target.release_key_int(WowIntegerKeyboard.arrow_left,50)
/*
 * ----------------------------------------------------------------------------
 * "PIZZA LICENSE":
 * https://github.com/EloiStree wrote this file.
 * As long as you retain this notice, you
 * can do whatever you want with this code.
 * If you think my code saved you time,
 * consider sending me a 🍺 or a 🍕 at:
 *  - https://buymeacoffee.com/apintio
 * 
 * You can also support my work by building your own DIY input device
 * using these Amazon links:
 * - https://github.com/EloiStree/HelloInput
 *
 * May the code be with you.
 *
 * Updated version: https://github.com/EloiStree/License
 * ----------------------------------------------------------------------------
 */

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wowint-2025.1.10.300.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wowint-2025.1.10.300-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file wowint-2025.1.10.300.tar.gz.

File metadata

  • Download URL: wowint-2025.1.10.300.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for wowint-2025.1.10.300.tar.gz
Algorithm Hash digest
SHA256 79485fdee4149c79fb7f344e35480cb10fdc604ae242cdfdfcc9f9a35db75fe9
MD5 e3aeafa8d4068e08f5757496f9195eba
BLAKE2b-256 8b8316db13356c9c3941135f0415a0633bc3d0556fe22c14ecb04b2ec8277822

See more details on using hashes here.

File details

Details for the file wowint-2025.1.10.300-py3-none-any.whl.

File metadata

  • Download URL: wowint-2025.1.10.300-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for wowint-2025.1.10.300-py3-none-any.whl
Algorithm Hash digest
SHA256 ea29ca66f8a271eb9deb34e267ec2b37835d2ba3c130b45ae3de4c1bf0a11ee5
MD5 3f2fd18973b93b03d9cdd6921798bba0
BLAKE2b-256 991c772aa148a7db0856f6bf0a56a59c36bbb1ded1426f7f62855108b39e8d7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page