Code Monkey home page Code Monkey logo

Comments (5)

xingrz avatar xingrz commented on June 12, 2024
  1. 请更新到最新一个版本(作为一个 bug report,你没有告诉我你用的版本,我只能猜测你用的是旧版)
  2. 为了减缓 Flash 写入磨损,所有设置都会延迟到 1 分钟写入

from zmk-config_helloword_hw-75.

Xiangjincheng avatar Xiangjincheng commented on June 12, 2024

不好意思,这是我更改您程序重新编译碰到的问题,我使用的是最新的源代码在拓展keymap中增加了一个音乐播放功能,上位机更改模式无法写入,因此想请教一下。我更改的keymap如下:

keymap {
	compatible = "zmk,keymap-ext", "zmk,keymap";

	volume {
		label = "音量";
		icon = [EE A1 BA];
		bindings = <&lvkp LV_KEY_PREV &lvkp LV_KEY_NEXT>;
		sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
	};

	change_music {
		label = "切歌";
		icon = [EE A3 8D];
		bindings = <&trans &trans>;
		sensor-bindings = <&inc_dec_kp C_NEXT C_PREVIOUS>;
	};

	music_start_stop {
		label = "音乐";
		icon = [EE A0 8F];
		bindings = <&trans &trans>;
		sensor-bindings = <&inc_dec_kp C_PLAY_PAUSE C_PLAY_PAUSE>;
	};

	scroll {
		label = "滚动";
		icon = [EE AC 89];
		bindings = <&trans &trans>;
		sensor-bindings = <&inc_dec_mw MW_DN(1) MW_UP(1)>;
	};

	arrow_horizontal {
		label = "左右";
		icon = [EE 9B AB];
		bindings = <&trans &trans>;
		sensor-bindings = <&inc_dec_kp LEFT RIGHT>;
	};

};

音乐和左右无法写入switch模式

from zmk-config_helloword_hw-75.

xingrz avatar xingrz commented on June 12, 2024

2. 为了减缓 Flash 写入磨损,所有设置都会延迟到 1 分钟写入

强调 ↑↑↑

当然你也可以让它默认就处于某个模式,而不是在 ZMKX.app 上手动更改。

tasks {
	label = "窗口";
	icon = [EF 85 9E];
	bindings = <&trans &trans>;
	sensor-bindings = <&switch_screens>;
	profile = <&profile_spring>;
};

from zmk-config_helloword_hw-75.

Xiangjincheng avatar Xiangjincheng commented on June 12, 2024

写入磨损我做了测试发现不是这个问题,我把5个模式都改成了switch模式,过了大概三四分钟重新上电,音乐和左右无法写入switch模式,其他三个正常写入了。

from zmk-config_helloword_hw-75.

Xiangjincheng avatar Xiangjincheng commented on June 12, 2024

当然你也可以让它默认就处于某个模式,而不是在 ZMKX.app 上手动更改。

tasks {
	label = "窗口";
	icon = [EF 85 9E];
	bindings = <&trans &trans>;
	sensor-bindings = <&switch_screens>;
	profile = <&profile_spring>;
};

这个方法也可以解决我现在的困扰,感谢解答

from zmk-config_helloword_hw-75.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.