A compact way to serialize and deserialize the input mappings of a FlxControl instance
controls.saveMappings: Returns a string representing that input layout
controls.loadMappings: Takes a mapping string and replaces the current mapping, entirely
mappings constructor arg: Prevents creation of the default mappings and goes straight to the mappings provided
- How will this work with multiple players sharing a keyboard?
A compact way to serialize and deserialize the input mappings of a FlxControl instance
controls.saveMappings: Returns a string representing that input layoutcontrols.loadMappings: Takes a mapping string and replaces the current mapping, entirelymappingsconstructor arg: Prevents creation of the default mappings and goes straight to the mappings provided