mist-devel / mist-binaries

Firmware and core binaries for the MIST board
202 stars 48 forks source link

Pcengine (TurboGfx16) core does not work keyboard or gamepad #63

Closed Stewings closed 4 years ago

Stewings commented 5 years ago

Hi,

Everything *.pce rom load OK besides does not respond joystick or gamepad or keyboard. Github’s description does not include any keyboard layout. The question would be, how can I use the games and what do I do?

sorgelig commented 5 years ago

assign the gamepad/keyboard buttons in PCE core.

lroby74 commented 5 years ago

You can simulate a Gamepad via keyboard pressing NUMLOCK sometimes until when Windows Logo, Left Alt, Left Ctrl & Left Shift Keys becoming active (Numlock cycles joystick 1, joystick 2, mouse and nothing)

Stewings commented 5 years ago

Hi,

It’s OK. Missing my keyboard NumLock. I changed my keyboard now. I try your description!

Thank you for your help!

Best Regard, Steve

  1. máj. 17. dátummal, 16:44 időpontban lroby74 notifications@github.com írta:

You can simulate a Gamepad via keyboard pressing NUMLOCK sometimes until when Windows Logo, Left Alt, Left Ctrl & Left Shift Keys becoming active (Numlock cycles joystick 1, joystick 2, mouse and nothing)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mist-devel/mist-binaries/issues/63?email_source=notifications&email_token=AMDBZ5C6LFR4XXPO7FI4JELPV3AEDA5CNFSM4HNSXQZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVU6PFI#issuecomment-493479829, or mute the thread https://github.com/notifications/unsubscribe-auth/AMDBZ5ED4LA3AG7ZBKJ6UXDPV3AEDANCNFSM4HNSXQZA.

Fekete István http://www.linuxadmin.hu/ Linux Supervisor DevOp

www.linuxadmin.hu http://www.linuxadmin.hu/ | info@linuxadmin.hu mailto:info@linuxadmin.hu M: +3630-351-2048 C: 1149 Budapest, Nagy Lajos Király u 109/a. 1.emelet 3. . T: +36 1 787 33 08 | linuxadmin.hu Linux adminsztrációs portál http://www.linuxadmin.hu/

sorgelig commented 5 years ago

No need to press anything. Just define the buttons as i've told.

lroby74 commented 5 years ago

No need to press anything. Just define the buttons as i've told.

On Mist too?

sorgelig commented 5 years ago

Sorry.. Worked too much. I've though it's MiSTer repo...

gyurco commented 5 years ago

Which core are you using? This is the most recent one: https://github.com/gyurco/fpgapce It doesn't respond to keyboard, since it only uses joysticks. If joysticks (or joystick emulation) don't work, probably you have an ancient firmware on your MiST.

Stewings commented 5 years ago

Hi,

My core version is:

Lotharek mist-devel latest version:

https://github.com/mist-devel/mist-binaries/tree/master/cores/pcengine https://github.com/mist-devel/mist-binaries/tree/master/cores/pcengine

https://github.com/gyurco/FPGAPCE/releases https://github.com/gyurco/FPGAPCE/releases

https://github.com/gyurco/FPGAPCE/releases/tag/190215 https://github.com/gyurco/FPGAPCE/releases/tag/190215

I tryed change F12 submenu joystick settings and I founded swap joystick enable. This setting is half OK. My pc keyboard SHIFT, Control, Numlock and UP,DOWN,LEFT,RIGHT keys is live. The joystick is half live all direction OK however only second Fire button working. First fire button only keyboard available.

Sorry my answer too late. I am very busy. Lot of work.

Best Regards, Steve

  1. máj. 20. dátummal, 9:01 időpontban gyurco notifications@github.com írta:

Which core are you using? This is the most recent one: https://github.com/gyurco/fpgapce https://github.com/gyurco/fpgapce It doesn't respond to keyboard, since it only uses joysticks. If joysticks don't work, probably you have an ancient firmware on your MiST.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mist-devel/mist-binaries/issues/63?email_source=notifications&email_token=AMDBZ5GRP7B66FK6TEB3253PWJEGLA5CNFSM4HNSXQZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVX33RA#issuecomment-493862340, or mute the thread https://github.com/notifications/unsubscribe-auth/AMDBZ5FUR7FSQGV3BVWHOWDPWJEGLANCNFSM4HNSXQZA.

Fekete István http://www.linuxadmin.hu/ Linux Supervisor DevOp

www.linuxadmin.hu http://www.linuxadmin.hu/ | info@linuxadmin.hu mailto:info@linuxadmin.hu M: +3630-351-2048 C: 1149 Budapest, Nagy Lajos Király u 109/a. 1.emelet 3. . T: +36 1 787 33 08 | linuxadmin.hu Linux adminsztrációs portál http://www.linuxadmin.hu/

gyurco commented 5 years ago

It's possible that button A and B are swapped in the core, but in Street Fighter II options screen, it seems to be correct. You can test on the controller setup menu in SF2 what button it sees on your joystick. Btw, most games on PCE require two buttons, and a 1-button joystick will be useless anyway.

gyurco commented 5 years ago

Well, here are the various original controllers used for the PCE: http://www.pc-engine.co.uk/?section=controllers As you can see, button I and II are counted from right-to-left, and probably that's why most games are using button II as the main fire button.