setup.py install is fixed

This commit is contained in:
punkrockguy318 2009-02-11 15:33:19 +00:00
parent 1b63129449
commit 53256867a1
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,6 @@
================= version 2.0.4 ( yet to be released) ============
* Is now installable
* Disabled gamepad GUI until joystick support can be completed
* Initial joystick config support: supports buttons, but hot hats and axes
* Documented and cleaned fceux config parser
* Udated about box UI

10
gfceux
View File

@ -29,7 +29,7 @@ import os
import pickle
import shutil
from optparse import OptionParser
from config_parse import FceuxConfigParser
#from config_parse import FceuxConfigParser
import get_key
#from subprocess import Popen
@ -563,8 +563,10 @@ class GfceuxApp:
'gp3_button' : "2",
'gp4_button' : "3"}
self.gamepad_config_no = d[widget.name]
"""
#Disabled for now
#TODO: Full joystick support
def button_clicked(self, widget, data=None):
prefix = "SDL.Input.GamePad." + self.gamepad_config_no
d = {'right_button' : prefix + "Right",
@ -592,8 +594,8 @@ class GfceuxApp:
if key_tuple[0] == "Joystick":
print key_tuple
cp.writeKey(prefix + "DeviceNum", key_tuple[2])
cp.writeKey(d[widget.name], key_tuple[1])
cp.writeKey(d[widget.name], key_tuple[1])
"""
def gamepad_clicked(self, widget, data=None):
command = '--inputcfg gamepad' + self.gamepad_config_no
self.launch(command, True)