Need help with arduino code

Arctic05

Gold Üye
Katılım
8 Tem 2021
Mesajlar
191
Beğeniler
37
Hello guys, I have zero knowledge in programming C++.
I got a code from internet to load into mouse connected with arduino and it is working fine.
However, when i move the mouse to the right, the sensitivity feels higher than the left.
Can someone help me? i don't know a single word about coding, so donot say anything that confuses me :)
Here is the code-
 
Kod:
  if(xbrute > 127){
    xm = map(xbrute, 255, 128, -1, -127);
  }
  else if(xbrute > 0){
    xm = xbrute;
  }

Replace and try it
 
Son düzenleme:
Hello Krishna. How about that problem nowadays?
 

  Şuanda konuyu görüntüleyen kullanıcılar


Üst Alt