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
 
19
 
20
 #define INVERT_SCROLL_X_AXIS false
20
 #define INVERT_SCROLL_X_AXIS false
21
 #define INVERT_SCROLL_Y_AXIS false
21
 #define INVERT_SCROLL_Y_AXIS false
22
-#define SCROLL_REDUCE_SENSITIVITY 10
22
+#define SCROLL_REDUCE_SENSITIVITY 20
23
 #define MIN_SCROLL_SUPPRESS_CLICK 10
23
 #define MIN_SCROLL_SUPPRESS_CLICK 10
24
 #define MOUSE_FAKE_MIDDLE_CLICK_TIME 10
24
 #define MOUSE_FAKE_MIDDLE_CLICK_TIME 10
25
 
25
 

+ 6
- 4
hardware/trackball.scad View File

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

Loading…
Cancel
Save