Well... as it so happens there's a simple command for the Q key. Just make a common event with a parallel process that's always on, and do a conditional branch for the "L button" (the L button is the Q key, while the R button is the W key). In that conditional branch, just use whatever the call script is to bring up the quest log menu.