Currently Wine does not create device with no axis. They are detected by SDL. Such devices do exist, for example, shifters, button-boxes for various simulation games.
Bug was introduced in https://gitlab.winehq.org/wine/wine/-/merge_requests/181, it doesn't enter in cycle if `axis_count` is 0. Changed cycle from `for` to `do while`, allowing device creation run at least once.