Skip to content

Commit

Permalink
use AUTO_MOUSE_DEFAULT_LAYER
Browse files Browse the repository at this point in the history
instead of set_auto_mouse_layer().
  • Loading branch information
koron committed Mar 22, 2024
1 parent b60f23c commit f28ece4
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 5

#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
#define AUTO_MOUSE_DEFAULT_LAYER 1
4 changes: 0 additions & 4 deletions qmk_firmware/keyboards/keyball/lib/keyball/keyball.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ void pointing_device_driver_init(void) {
# endif
#endif
pmw3360_cpi_set(CPI_DEFAULT - 1);

#ifdef POINTING_DEVICE_AUTO_MOUSE_ENABLE
set_auto_mouse_layer(1);
#endif
}
}

Expand Down

0 comments on commit f28ece4

Please sign in to comment.