I can try to add something here ... i have done a lot of adhesion work on difficult to bond materials in medical device design...
Agreed with what has been said before (dry stock to avoid warpage - critical; dont squeeze out epoxy - should not really be all that important; flat stock - important but critical for appearance; clean with alcohol or acetone - critical; clamp or keep secure until cured - critical).
I would add the following: flat does NOT mean “smooth”. A roughened surface(s) will absolutely help, and might well end up being THE critical factor in retaining adhesion over time. This, i believe, is especially true when using any plastic or resin containing materials (including stabilized wood), and my guess is also with any highly resinous woods (which of course are the most attractive ones ). So before bonding i would attack those mating surfaces with surprisingly rough sandpaper - like 100 or even 60 grit (a smooth surface is actually really bad for several reasons). Doing this will help retain adhesion over time, and should all but cure the “epoxy squeeze out” problem some have noted (a thinner glue layer should actually be stronger and last longer)
If you would like, i can give a somewhat longer explanation on the “why” of the above, but am not sure if you want that (and i am on my ipad right now ... and my fingers just do not work well with this keypad (or the other way around....)