Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: [0652] 基本キーの別キーモードに対して一部略記できるようコード整理 #1418

Merged
merged 2 commits into from Feb 28, 2023

Conversation

cwtickle
Copy link
Owner

@cwtickle cwtickle commented Feb 28, 2023

🔨 変更内容 / Details of Changes

  1. 基本キーの別キーモードに対して一部略記できるようコード整理しました。
    コピーリストを g_copyKeyPtn で定義しています。
const g_copyKeyPtn = {
    '8_3': `8_2`,    // コピー先: コピー元の形式で定義
    '8_4': `8_2`,
    '8_5': `8_2`,
    '7_1': `7_0`,
    '7_2': `7i_0`,
    '7_3': `8_2`,
    '7_4': `8_3`,
    '7_5': `8_4`,
    '7_6': `8_5`,
    // 以下省略
}

🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes

  1. 今後、基本キーに昇格するキーが出てきたときに、現状の方法では手間が掛かるため。

📷 スクリーンショット / Screenshot

📝 その他コメント / Other Comments

  • 基本的に影響は無いと思いますが、以下の変化点があります。
    • 7keyにおける12keyモードのおにぎりがoni_dataからsleft_dataに変更になりました。
      (7keyでは通常割り当てされていないキーのため、影響は無いと思います)
    • 9Akeyにおける9BkeyモードでAutoPlay: Left, Rightが選べましたが、
      従来の9Bkeyと同様選択不可になりました。
    • 逆に、9Bkeyにおける9AkeyモードではAutoPlay: Left, Rightが選べるようになります。

@codeclimate
Copy link

codeclimate bot commented Feb 28, 2023

Code Climate has analyzed commit 854d1df and detected 0 issues on this pull request.

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant