Original: Domenico Scarlatti wrote just two keyboard sonatas in C-sharp minor , K. 246 and K. 247 .
Simplified: But after Beethovens famous Moonlight Sonata , the key became more popular for piano .