Strengthen LinuxCNC switchkins remap generation

This commit is contained in:
cnc
2026-06-02 06:46:54 +08:00
parent f5013ec745
commit 87fcf74135
9 changed files with 2284 additions and 123 deletions

View File

@@ -605,20 +605,29 @@ export async function createWasmSimulator(moduleOptions = {}) {
...(options.machine ? { machine: options.machine } : {}),
...(options.config ? { config: options.config } : {}),
...(options.configPath ? { configPath: options.configPath } : {}),
...(options.configpath ? { configpath: options.configpath } : {}),
...(options.config_path ? { config_path: options.config_path } : {}),
...(options.ini ? { ini: options.ini } : {}),
...(options.iniFile ? { iniFile: options.iniFile } : {}),
...(options.inifile ? { inifile: options.inifile } : {}),
...(options.iniFileName ? { iniFileName: options.iniFileName } : {}),
...(options.inifilename ? { inifilename: options.inifilename } : {}),
...(options.ini_file ? { ini_file: options.ini_file } : {}),
...(options.ini_file_name ? { ini_file_name: options.ini_file_name } : {}),
...(options.INI_FILE_NAME ? { INI_FILE_NAME: options.INI_FILE_NAME } : {}),
...(options.halFile ? { halFile: options.halFile } : {}),
...(options.halfile ? { halfile: options.halfile } : {}),
...(options.hal_file ? { hal_file: options.hal_file } : {}),
...(options.HALFILE ? { HALFILE: options.HALFILE } : {}),
...(options.postguiHalFile ? { postguiHalFile: options.postguiHalFile } : {}),
...(options.postguihalfile ? { postguihalfile: options.postguihalfile } : {}),
...(options.postgui_halfile ? { postgui_halfile: options.postgui_halfile } : {}),
...(options.postgui_hal_file ? { postgui_hal_file: options.postgui_hal_file } : {}),
...(options.POSTGUI_HALFILE ? { POSTGUI_HALFILE: options.POSTGUI_HALFILE } : {}),
...(options.subroutinePath ? { subroutinePath: options.subroutinePath } : {}),
...(options.subroutinepath ? { subroutinepath: options.subroutinepath } : {}),
...(options.subroutine_path ? { subroutine_path: options.subroutine_path } : {}),
...(options.SUBROUTINE_PATH ? { SUBROUTINE_PATH: options.SUBROUTINE_PATH } : {}),
...(options.kinematics ? { kinematics: options.kinematics } : {}),
...(options.trt ? { trt: options.trt } : {}),
...(options.pivotLength !== undefined ? { pivotLength: options.pivotLength } : {}),