When creating a preset, you generally simply scan for input and press the buttons for each mapping(bind).
Each preset only works correctly with the kind controller was used to create it. That is why, currently, there is no way to create generic presets that can be used for all controllers, even if they have similar button count/disposition. Joystick Mapper was designed to be generic enough to be able to use any mac compatible joysticks/gamepads, so it can not assume a common popular layout for all controllers. Joystick Mapper (and any other app that reads gamepad input) uses this information to map the input (button/axis/etc) to the desired output(keyboard/mouse). Each game controller button, dpad or axis (thumbsticks or triggers) have an internal numeric representation that very often does not match the controller's labels and is different for each controller, no matter its current physical location.