How do I get my keyboard working on ANY Atari 2600 emulator?

I have tried downloading some Atari 2600 emulators, and can not get my keyboard working as a controller. (I don’t have a joystick). I have tried downloading Stella, PCAE, and Z26. The controls that they are specifying do not work. Has anyone had this problem/does anyone know what the solution is?