From 671663b76f9e73e6c2419e4655d21a138c8a491d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 25 Oct 2018 14:46:26 -0700 Subject: [PATCH] Add missing GetMax* methods --- etg/joystick.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etg/joystick.py b/etg/joystick.py index 37eb6183..20072367 100644 --- a/etg/joystick.py +++ b/etg/joystick.py @@ -9,6 +9,7 @@ import etgtools import etgtools.tweaker_tools as tools +from etgtools import MethodDef PACKAGE = "wx" MODULE = "_adv" @@ -96,6 +97,9 @@ def run(): assert isinstance(c, etgtools.ClassDef) c.mustHaveApp() + c.addItem(MethodDef(name='GetMaxButtons', type='int', isConst=True)) + c.addItem(MethodDef(name='GetMaxAxes', type='int', isConst=True)) + #----------------------------------------------------------------- tools.doCommonTweaks(module)