apps,litenes,psg: change key
This commit is contained in:
parent
12c077ced6
commit
bbf0545fd5
|
@ -6,10 +6,10 @@ Nintendo Entertainment System模拟器。故意做了一些错误的实现以提
|
|||
|
||||
操作方式:
|
||||
|
||||
* T — SELECT
|
||||
* Y — START
|
||||
* G — A键
|
||||
* H — B键
|
||||
* U — SELECT
|
||||
* I — START
|
||||
* J — A键
|
||||
* K — B键
|
||||
* W/S/A/D — UP/DOWN/LEFT/RIGHT
|
||||
|
||||
需要正确的IOE (绘图、定时)。
|
||||
需要正确的IOE (绘图、定时)。
|
||||
|
|
|
@ -11,10 +11,10 @@ extern int key_p;
|
|||
static inline byte psg_io_read(word address) {
|
||||
static int const MAP[256] = {
|
||||
0, // On/Off
|
||||
_KEY_G, // A
|
||||
_KEY_H, // B
|
||||
_KEY_T, // SELECT
|
||||
_KEY_Y, // START
|
||||
_KEY_J, // A
|
||||
_KEY_K, // B
|
||||
_KEY_U, // SELECT
|
||||
_KEY_I, // START
|
||||
_KEY_W,
|
||||
_KEY_S,
|
||||
_KEY_A,
|
||||
|
|
Loading…
Reference in New Issue