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:
|
You can install gfceux with setup.py:
|
||||||
|
|
||||||
$ sudo python setup.py install --prefix=/usr/local
|
$ sudo python setup.py install --prefix=/usr/local
|
||||||
|
|
2
MANIFEST
2
MANIFEST
|
@ -1,4 +1,6 @@
|
||||||
gfceux
|
gfceux
|
||||||
|
get_key.py
|
||||||
|
config_parse.py
|
||||||
setup.py
|
setup.py
|
||||||
COPYING
|
COPYING
|
||||||
ChangeLog
|
ChangeLog
|
||||||
|
|
1
TODO
1
TODO
|
@ -1,4 +1,5 @@
|
||||||
TODO:
|
TODO:
|
||||||
|
* clean setup.py
|
||||||
* implement UI for --special (combo box)
|
* implement UI for --special (combo box)
|
||||||
* use combo box for bpp
|
* use combo box for bpp
|
||||||
* use combo box to select gamepad to configure, simply UI
|
* use combo box to select gamepad to configure, simply UI
|
||||||
|
|
5
gfceux
5
gfceux
|
@ -554,7 +554,8 @@ class GfceuxApp:
|
||||||
# specifies which NES gamepad we are configuring
|
# specifies which NES gamepad we are configuring
|
||||||
gamepad_config_no = "0"
|
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()
|
widgets.get_object("gamepad_config_window").show_all()
|
||||||
|
|
||||||
d = {'gp1_button' : "0",
|
d = {'gp1_button' : "0",
|
||||||
|
@ -593,7 +594,7 @@ class GfceuxApp:
|
||||||
cp.writeKey(prefix + "DeviceNum", key_tuple[2])
|
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_old(self, widget, data=None):
|
def gamepad_clicked(self, widget, data=None):
|
||||||
command = '--inputcfg gamepad' + self.gamepad_config_no
|
command = '--inputcfg gamepad' + self.gamepad_config_no
|
||||||
self.launch(command, True)
|
self.launch(command, True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue