restored old config behavior because the gui doesn't support joysticks yet
added note to install file that setup.py is broken right now
This commit is contained in:
parent
d7812c852a
commit
1b63129449
9
INSTALL
9
INSTALL
|
@ -1,3 +1,12 @@
|
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
! IMPORTANT NOTE
|
||||
! The setup script is broken right now.
|
||||
! To workaround, just run gfceux out of the source directory.
|
||||
!
|
||||
! $ python ./gfceux
|
||||
!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
You can install gfceux with setup.py:
|
||||
|
||||
$ sudo python setup.py install --prefix=/usr/local
|
||||
|
|
1
TODO
1
TODO
|
@ -1,4 +1,5 @@
|
|||
TODO:
|
||||
* clean setup.py
|
||||
* implement UI for --special (combo box)
|
||||
* use combo box for bpp
|
||||
* use combo box to select gamepad to configure, simply UI
|
||||
|
|
7
gfceux
7
gfceux
|
@ -553,8 +553,9 @@ class GfceuxApp:
|
|||
# fix this global its ugly
|
||||
# specifies which NES gamepad we are configuring
|
||||
gamepad_config_no = "0"
|
||||
|
||||
def gamepad_clicked(self, widget, data=None):
|
||||
|
||||
# This isn't used yet because it doesn't work with joysticks.
|
||||
def gamepad_clicked_new(self, widget, data=None):
|
||||
widgets.get_object("gamepad_config_window").show_all()
|
||||
|
||||
d = {'gp1_button' : "0",
|
||||
|
@ -593,7 +594,7 @@ class GfceuxApp:
|
|||
cp.writeKey(prefix + "DeviceNum", key_tuple[2])
|
||||
cp.writeKey(d[widget.name], key_tuple[1])
|
||||
|
||||
def gamepad_clicked_old(self, widget, data=None):
|
||||
def gamepad_clicked(self, widget, data=None):
|
||||
command = '--inputcfg gamepad' + self.gamepad_config_no
|
||||
self.launch(command, True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue