This might need some amendments for the J:2* parameters if you have a Mini which hasn't been updated to the latest firmware (specifically the mapping of the F1 and F3 keys).