Browse Source

small fixes

Thomas Buck 1 year ago
parent
commit
5bd12898bb
2 changed files with 7 additions and 5 deletions
  1. 1
    1
      firmware/include/config.h
  2. 6
    4
      hardware/trackball.scad

+ 1
- 1
firmware/include/config.h View File

@@ -19,7 +19,7 @@
19 19
 
20 20
 #define INVERT_SCROLL_X_AXIS false
21 21
 #define INVERT_SCROLL_Y_AXIS false
22
-#define SCROLL_REDUCE_SENSITIVITY 10
22
+#define SCROLL_REDUCE_SENSITIVITY 20
23 23
 #define MIN_SCROLL_SUPPRESS_CLICK 10
24 24
 #define MOUSE_FAKE_MIDDLE_CLICK_TIME 10
25 25
 

+ 6
- 4
hardware/trackball.scad View File

@@ -38,7 +38,7 @@ use <external/pico_case.scad>
38 38
 // ######################
39 39
 
40 40
 //ball_and_roller();
41
-pico_wrap();
41
+//pico_wrap();
42 42
 //sensor();
43 43
 //mx_switch_cutout(wall);
44 44
 //mx_switch_test();
@@ -48,7 +48,7 @@ pico_wrap();
48 48
 //roller_mount_tri();
49 49
 
50 50
 trackball_top();
51
-trackball_bottom();
51
+//trackball_bottom();
52 52
 
53 53
 //assembly();
54 54
 //print();
@@ -77,6 +77,7 @@ draw_ball_roller = true;
77 77
 draw_switches = true;
78 78
 draw_sensor = true;
79 79
 use_external_pico_model = true;
80
+draw_keycap = false;
80 81
 
81 82
 // #######################
82 83
 // ## Raspberry Pi Pico ##
@@ -237,6 +238,7 @@ screw_dia = 3.2;
237 238
 screw_off = base_dia / 2 - 10;
238 239
 screw_head_d = 6.0;
239 240
 screw_head_h = 3.5;
241
+//screw_angles = [ 30, -15, 180 + 40, 180 - 30 ];
240 242
 screw_angles = [ 15, -15, 180 + 15, 180 - 15 ];
241 243
 screw_insert_dia = 4.8;
242 244
 screw_insert_h = 6.0;
@@ -639,7 +641,7 @@ module trackball_top() {
639 641
     
640 642
         if (draw_switches)
641 643
         for ( i = [0:len(sw)-1] ){
642
-            rotate([0,0,sw[i][0][2]])
644
+            %rotate([0,0,sw[i][0][2]])
643 645
             translate(sw[i][1])
644 646
             rotate([90+sw[i][0][0],0,sw[i][0][1]])
645 647
             translate([0, 0, 1.])
@@ -647,7 +649,7 @@ module trackball_top() {
647 649
         }
648 650
         if (draw_keycap)
649 651
         for ( i = [0:len(sw)-1] ){
650
-            rotate([0,0,sw[i][0][2]])
652
+            %rotate([0,0,sw[i][0][2]])
651 653
             translate(sw[i][1])
652 654
             rotate([90+sw[i][0][0],0,sw[i][0][1]])
653 655
             translate([0, 0, 1.])

Loading…
Cancel
Save