I accidentally pressed the word button and the camera's gone funny
この場合の 間違えて は副詞で accidentally を使うのがおすすめです。
単語のボタン は直訳だと word button ですが○○の単語が乗ってる
ボタンと言う意味であれば the button with the word _ _ と
表現すると良いかもしれません。
おかしくなった は色々な表現がありますが to go funny を過去形にして
gone funny と表現することが出来ます。
「たまに間違えて単語のボタンを押してキャンセルするとカメラが真っ暗になるんだ」
"The camera goes black sometimes when I accidentally press the word button and cancel it"
"I accidentally pressed the vocabulary button, and now my camera is acting weird."
"I accidentally pressed the vocabulary button, and now my camera is acting weird."
"I pressed the word button by mistake, and my camera went black."
"I accidentally clicked the vocabulary button, and it messed up my camera."
"Sorry, I pressed the vocabulary button by accident, and now my camera screen is black."
この場合、英語では
accidentally
by mistake
を使うと、「間違えて」が自然に言えます。