Super Mario 3D All-Stars has been updated to version 1.1.1 today by Nintendo. You can find out the complete patch notes for this update from here.
This surprise update for the game appears to have been released after more than a year since the game was last updated. It is coinciding with the launch of the Nintendo 64 Controller for the Switch. This update now allows the players to use their controller to play Super Mario 64.
Super Mario 3D All-Stars Update 1.1.1 Patch Notes
General
- Now supports the Nintendo 64 Controller (sold separately), available only to Nintendo Switch Online subscribers (Super Mario 64 only). You can enjoy the same controls as the original.