AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
265 stars 62 forks source link

Joy2Key Mapping Core Option. #5

Closed Tatsuya79 closed 7 years ago

Tatsuya79 commented 7 years ago

Option to use the Joypad to call some pre-defined keyboard keys.

Useful for Touhou 1 & 2 that don't use the joypad at all. I chose the keys for those games and then added some. That can be changed if you have any other game in mind that would need different keys.

It disables the keyboard when activated. I wanted to keep the keyboard active but it causes some (strange) problems.

Seems to work fine with the Joy2Mouse option.

AZO234 commented 7 years ago

I mind about this(Joy2Key) function too. Wow, great work. Thank you!

I think general PC98 game's keymap follows Z : B button X : A button Left or NumKey 4 : left Right or NumKey 6 : right Up or NumKey 8 : up Down or NumKey 2 : down

And it probably need Return and Escape.

Your code is fully satisfied. I would like to commit immediately. Do you have any other ideas?

Tatsuya79 commented 7 years ago

I thought this list of keys you just gave is the usual basis too. We can change the other ones later if we think of anything useful.

So you can merge it, sure.

AZO234 commented 7 years ago

Thanks. I hope that more Touhou fans enjoy. (When I knew Touhou 1, I was Junior High School student...)

Tatsuya79 commented 7 years ago

I was in high school too here in France. I didn't know about Touhou but was listening to X Japan - Dahlia though. 🌹