-
Notifications
You must be signed in to change notification settings - Fork 0
/
sufami.ts
84 lines (83 loc) · 1.83 KB
/
sufami.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// tslint:disable: no-magic-numbers
import { SNES_BUTTON } from '@src/constants/snes-buttons';
import { IMG_SUFAMI_BUTTON } from '@src/constants/sufami-img';
import { Config } from '@src/interfaces';
export const config: Config = {
version: 1,
name: 'iBuffalo as Japanese Super Nintendo',
images: [IMG_SUFAMI_BUTTON.BASE],
widgets: [
{
type: 'button',
name: 'Select button',
input: SNES_BUTTON.SELECT,
images: IMG_SUFAMI_BUTTON.SELECT,
},
{
type: 'button',
name: 'Start Button',
input: SNES_BUTTON.START,
images: IMG_SUFAMI_BUTTON.START,
},
{
type: 'button',
name: 'Up button',
input: SNES_BUTTON.UP,
images: IMG_SUFAMI_BUTTON.UP,
},
{
type: 'button',
name: 'Down button',
input: SNES_BUTTON.DOWN,
images: IMG_SUFAMI_BUTTON.DOWN,
},
{
type: 'button',
name: 'Left button',
input: SNES_BUTTON.LEFT,
images: IMG_SUFAMI_BUTTON.LEFT,
},
{
type: 'button',
name: 'Right button',
input: SNES_BUTTON.RIGHT,
images: IMG_SUFAMI_BUTTON.RIGHT,
},
{
type: 'button',
name: 'A button',
input: SNES_BUTTON.A,
images: IMG_SUFAMI_BUTTON.A,
},
{
type: 'button',
name: 'B button',
input: SNES_BUTTON.B,
images: IMG_SUFAMI_BUTTON.B,
},
{
type: 'button',
name: 'X button',
input: SNES_BUTTON.X,
images: IMG_SUFAMI_BUTTON.X,
},
{
type: 'button',
name: 'Y button',
input: SNES_BUTTON.Y,
images: IMG_SUFAMI_BUTTON.Y,
},
{
type: 'button',
name: 'L button',
input: SNES_BUTTON.L,
images: IMG_SUFAMI_BUTTON.L,
},
{
type: 'button',
name: 'R button',
input: SNES_BUTTON.R,
images: IMG_SUFAMI_BUTTON.R,
},
],
};