no, i use pygame:
try:
from pygame import joystick
has_joystick = True
except:
has_joystick = False
class JoystickAgregator:
def __init__(self, cfgs=None, slow_gain=0.25 ):
if has_joystick: joystick.init() # module_init
# enumerate available joysticks, configure etc
and yes, i had found basic sdl2 events redirection in window code. but there are no docs (referenced doc is nothing extra to code) and no ways to enumerate connected joysticks, identify it and so on...
so. now i'm looking the way to install pygame to existing kivy 1.9 portable.
понеділок, 4 травня 2015 р. 22:09:40 UTC+3 користувач qua-non написав: