analog stick on custom game controller

so i want to make a game controller. and i want to have an analog stick on it. how would i have the atmega32u4 give the computer an analog input. do i do usual procedure?

The analogRead function should work on every controller with a built-in ADC. If not, the compiler will tell you when you compile a program.