소스 검색

ZTBoards Updated keymap and updated info.json (#10926)

* Updated information on info.json and hopefully de-cluttered branch

* Updated default encoder settings

* Updated info.json for after to be in the proper order

* Fixed maintainer name
Philip (Han) Suh 4 년 전
부모
커밋
91b44016f9
3개의 변경된 파일6개의 추가작업 그리고 16개의 파일을 삭제
  1. 1 1
      keyboards/ztboards/after/info.json
  2. 4 14
      keyboards/ztboards/after/keymaps/default/keymap.c
  3. 1 1
      keyboards/ztboards/noon/info.json

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
keyboards/ztboards/after/info.json


+ 4 - 14
keyboards/ztboards/after/keymaps/default/keymap.c

@@ -21,33 +21,23 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 
 
 void encoder_update_user(uint8_t index, bool clockwise) {
-  /*  Custom encoder control - handles CW/CCW turning of encoder
-   *  Default behavior:
-   *    main layer:
-   *       CW: move mouse right
-   *      CCW: move mouse left
-   *    other layers:
-   *       CW: = (equals/plus - increase slider in Adobe products)
-   *      CCW: - (minus/underscore - decrease slider in adobe products)
-   * Thank you to imchipwood/dumbpad for defining this. 
-   */
   if (index == 0) {
     switch (get_highest_layer(layer_state)) {
       case 1:
         // main layer - move mouse right (CW) and left (CCW)
         if (clockwise) {
-          tap_code(KC_MS_R);
+          tap_code(KC_BRIGHTNESS_UP);
         } else {
-          tap_code(KC_MS_L);
+          tap_code(KC_BRIGHTNESS_DOWN);
         }
         break;
 
       default:
         // other layers - =/+ (quals/plus) (CW) and -/_ (minus/underscore) (CCW)
         if (clockwise) {
-          tap_code(KC_EQL);
+          tap_code(KC_AUDIO_VOL_UP);
         } else {
-          tap_code(KC_MINS);
+          tap_code(KC_AUDIO_VOL_DOWN);
         }
         break;
     }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
keyboards/ztboards/noon/info.json


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.