maintopot - Summary

 
 
Membership Info
Group Admin:
2 active members

Group identification
Id: 9476
System Name: topot
Name: topot
Group Type: non-GNU software and documentation

Search in this Group


 

This group is not part of the GNU Project.

topot is remapper of different input devices (joystick, keyboard, mouse, midi/osc gears) to X events (mouse, keys), MIDI and Open Sound Control. topot is written in python and can be used interactively through python interactive shell (ie. ipython).

topot tries to provide easy and flexible way to remap different kinds of input devices to dispatch Xorg, MIDI and OSC events.

here are the few examples:

t = Topot()
t.add(xkey.Keys())
t.add(MidiOutput())
# let's ESCAPE key sends MIDI Program Change 39
t.connect("pgmchange", 39, t.get("key", 9))



# let's first button from the gamepad would be 'cha2' modifier
t.connect("mod", "cha2", t.get("j0_button", 1))
# while pressed first button move right axis
t.withModifiers(on=["cha2"])
# let's analog joystick axe from gamepad sends MIDI Controller #72 values
t.connect("controller", 72, primitive(repeat(t.get("tick"), transform(t.get("j0_axis", 1), ampMoveDiscon)), 0, 0, 127))


After connection's set ups are made topot takes care of firing up and dispatching events around.

Registration Date: Fri 24 Aug 2007 04:42:12 PM UTC
License: GNU General Public License v3 or later
Development Status: 2 - Pre-Alpha

 

Latest News rss feed

No news found

Quick Overview
 Memberlist (2 members)

Communication Tools
 Mailing Lists (1 public mailing list)

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code