Skip to content

Commit

Permalink
fix: add best-guesses for banks property, for untested products
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Oct 27, 2020
1 parent a8a7193 commit 8ecffec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const PRODUCTS: {[name: string]: Product} = {
columns: 4,
rows: 6,
hasPS: true,
banks: 2,
bankSize: 32
},
XK4: { // This has not been tested
Expand Down Expand Up @@ -63,6 +64,7 @@ export const PRODUCTS: {[name: string]: Product} = {
jogByte: 8,
hasShuttle: true,
shuttleByte: 9,
banks: 2,
bankSize: 32
},
XK12JOYSTICK: { // This has not been tested
Expand All @@ -72,6 +74,7 @@ export const PRODUCTS: {[name: string]: Product} = {
rows: 3,
hasPS: true,
hasJoystick: true,
banks: 2,
bankSize: 32
},
XK16: { // This has not been tested
Expand All @@ -80,6 +83,7 @@ export const PRODUCTS: {[name: string]: Product} = {
columns: 4,
rows: 4, // not really rows, but the data comes like that (it is physically one row)
hasPS: false, // unknown
banks: 2,
bankSize: 32 // unknown
},
XR32: { // This has not been tested
Expand Down Expand Up @@ -114,6 +118,7 @@ export const PRODUCTS: {[name: string]: Product} = {
columns: 16,
rows: 8,
hasPS: false, // unknown
banks: 2,
bankSize: 128
},
XK68JOGSHUTTLE: { // This has not been tested
Expand All @@ -126,8 +131,8 @@ export const PRODUCTS: {[name: string]: Product} = {
jogByte: 18,
hasShuttle: true,
shuttleByte: 19,
banks: 2,
bankSize: 80,
banks: 2,
disableKeys: [29,30,31, 37,38,39, 45,46,47, 53,54,55]
}
}

0 comments on commit 8ecffec

Please sign in to comment.