I think that you should try to get the camera work even with the keyboard closed! It is a pity to "lose" your camera....
About parts, what about the n97 keyboard? I searched a little on ebay and there are many of them for sale.
-Use this thing/component/whatever! Send this kind of messages over PM, with explanation why and how it works