#[Solved] Pointing.h issues with adding mouse scroll

1 messages · Page 1 of 1 (latest)

full badger
#

i ve manually added https://github.com/bdimitrako/zmk-new_corne/blob/main/app/include/dt-bindings/zmk/pointing.h this because during edits in nick coutsos online editor this is needed. but the action fails with something like this

/__w/zmk-new_corne/zmk-new_corne/config/corne.keymap:6:10: fatal error: dt-bindings/zmk/pointing.h: No such file or directory
6 | #include <dt-bindings/zmk/pointing.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

in my current working build i have mouse movement on the joystick but i try to add msc mouse scroll to some keys.

ideally i would also like to have buttons that could alter the mousespeed when needed but one step at a time.

i am no software dev and i am over my head on this. any help / guidance would be great

GitHub

Contribute to bdimitrako/zmk-new_corne development by creating an account on GitHub.

runic kayak
#

@visual grail did a lot of work to clean up your upstream repo that you forked from, if you go to the main repo and follow the README instructions, then copy your keymap that would be a good solution

full badger
#

ok i ll try a new fork then. will edit this in a bit and come back! thanks

full badger
#

the first build i did with the new form messed up the right corne. i ll pickup with the vendor... the mouse scroll works though in the keys that work.

runic kayak
full badger
#

they were paired. the issue was that the columns of the right half were messed up. meaning that i think the first column had the items of the last column and the 4way joystick had only up and left working. on the keymap and the drawing on the my repo looked alright. anyhow i reverted to a working firmware i had to keep working with this and i will probably study more to understand the issue on the weekend. thanks again.

runic kayak
#

I think you might just need to order your keymap, if you were using the old order. But I am not that familiar with that hardware and the refactor

full badger
#

well i did not use the old keymap i edited through nick coutsos from scratch just to be sure.
i was checking locally some diffs between the json of the default layouts and i see row 4 missing, some spaces existing in row 3, some additional columns existing on all rows and a lot of x,y differences. but i need to understand if this was the issue of the shift of columns on the right half. i am pretty sure that is the case but i want to come up with a robust solution.

full badger
#

i was just dum dum... i had to flash each half separately for this first time. now everything works right.

#

[Solved] Pointing.h issues with adding mouse scroll

final sparrow
full badger
#

@final sparrow check my fit. In the config and in the keymap files you will find the answers on the call. For some reason when using the nick coutsos editor the include pointing.h is added three times in the code when adding the first mouse mkp. I edited that and also added after the definition of zmk pointing default value as stated in documentation to alter the speed of the cursor

#

Git*