addEventListener('keydown', function(e){ ... }, false); // 監視文件. 因為canvas 沒有可以使用的監視鍵盤事件所以要使用JavaScript 判斷keydown 的事件
確定! 回上一頁