dos s0010 customKeys - cwtickle/danoniplus-docs GitHub Wiki

English | Japanese

^ Return to Common setting file specification

< Label text and message | Definition of custom key types || Maker credits and basic settings >

Definition of custom key types

g_presetObj.keysData - Common definition of custom key types

-> Priority chart settings if specified : Definition of custom key typess by Work

  • Sets a definition of custom key types to be set in common.
g_presetObj.keysData = `

|color6=0,1,0,1,0,2$2,0,1,0,1,0|
|chara6=left,leftdia,down,rightdia,right,space$space,left,leftdia,down,rightdia,right|
|div6=6$6|
|stepRtn6=0,45,-90,135,180,onigiri$onigiri,0,45,-90,135,180|
|keyCtrl6=75/0,79/0,76/0,80/0,187/0,32/0$32/0,75/0,79/0,76/0,80/0,187/0|
|shuffle6=1,1,1,1,1,0$0,1,1,1,1,1|

|chara9v=9B_0$9B_0|
|color9v=1,0,1,0,2,0,1,0,1$9B_0|
|div9v=9$9|
|keyCtrl9v=52/0,82/0,70/0,86/0,32/0,78/0,74/0,73/0,57/0$9B_0|
|pos9v=0,1,2,3,4,5,6,7,8$0,1,2,3,4,5,6,7,8|
|scroll9v=---::1,1,-1,-1,-1,-1,-1,1,1/flat::1,1,1,1,1,1,1,1,1$9B_0|
|shuffle9v=9B_0$9B_0|
|stepRtn9v=90,120,150,180,onigiri,0,30,60,90$9B_0|
|transKey9v=$9B|

`;

g_presetObj.keysDataLib - Custom key definitions for libraries

  • Set a custom key definition to be set for the library. Since g_presetObj.keysDataLib is defined as an array, the custom definition method is the same, but the custom definition itself must be pushed.
const customLibData = `

|keyExtraList=27k|
|chara27k=...|
|color27k=...|

`;
g_presetObj.keysDataLib.push(customLibData);

Changelog

Version Change details
v31.3.1 - Custom key list (keyExtraList) specification is no longer required in principle.
v30.6.0 - Added custom key definitions for libraries (g_presetKeysData).
v26.3.1 << Variable name change >> - g_presetKeysData -> g_presetObj.keysData
v26.2.0 - Add common definition of custom key types (g_presetKeysData).

< Label text and message | Definition of custom key types || Maker credits and basic settings >