Don't count out your MacBook's keyboard just yet — a quick hardware cleaning or software toggle could get it working again.
If your Logitech keyboard is not working, check for problems with the connection, update the drivers, or try the other methods here.