This may be helpful, in that iFixit (in the actual take apart guide page, has
video and still images with text) says
"The new keyboard adopts the slightly revised layout of the 2015 MacBook keyboard"
So if it works, the blue words are a link to that iFixit keyboard page. {I've had to re-edit
due to ASC discussions site software failures where URLs fail to render with various
browsers. Presently most of what I've edited (now in both posts) seems to work in
Firefox browser and Safari. Any errors you may experience in that aspect should be
noted in your reply, if they exist or persist while here.}
A direct link to the computer repair guide whose keyboard parts are like Magic Keyboard:
https://www.ifixit.com/Device/Retina_MacBook_2015#guideList
Sometimes the part under the key-face may need to be replaced even if they look OK.
Damages may occur in addition to whatever didn't work before you took the parts out.
And the touch sensor under the spring and keyface may also be the real problem.
This is some of the difficulty; also some 2015 MacBook 12-inch Retina users had noted
issues requiring repair or extensive cleaning of the keyboard. A return of covered product
to an authorized Apple store or service provider is recommended if the unit has failed.
So because these products appear to share some technologies, you may need to go there.
Sorry to not have a specific reply to your question.
In any event...
Good luck & happy computing! 🙂