Can a Mac boot when the right shift key is broken in the pressed position? [duplicate]

Here's the thing, the right shift key of my macbook is stuck, so it always boots in safe mode once I turn the machine on. Worse, I cannot log in since my password has lower case letters.

I tried resetting the NVRAM by holding Command - Option - P - R and also went into the disk utilities, however nothing I can do there helps.

I looking for a way to disable the right side shift key or alternatively enable the bluetooth via command line, since I have a wireless keyboard, but I cannot make either work.

UPDATE:

I woke up today and the key was working fine. However I do not trust on it. Probably when the MacBook gets warmer it will stuck again.

I downloaded a software called KeyRemap4MacBook, which can be downloaded from here. I followed this tutorial in order to deactive the key, this is a temporal fix while I make some saving to buy a new one.


Sadly, you might need to open the Mac and disconnect the keyboard.

Here is an image from iFixit.com's takeapart for the 15 inch model.

keyboard ribbon cable to the logic board

It is protected by a metal cage - but you won't need to do all the steps - just get the bottom off and disconnect the battery before working on the keyboard cable.

You will of course need a USB keyboard to work things temporarily and enable the bluetooth keyboard if you can't get there with a mouse or the trackpad only. Do read the cautions on the repair guide and be sure you are up to a delicate task. A proper Mac technician might charge $30 for this repair since it's quite easy for someone with all the tools and experience getting in to the Mac.