胡斌

fix bug of rotating 180 and 270 degree for PendoTech pen

正在显示 1 个修改的文件 包含 2 行增加2 行删除
@@ -934,10 +934,10 @@ @@ -934,10 +934,10 @@
934 draw_ext_input(y, ext_input_panel_width - x ,nPress); 934 draw_ext_input(y, ext_input_panel_width - x ,nPress);
935 } 935 }
936 else if(rotate_degree == 180) { 936 else if(rotate_degree == 180) {
937 - draw_ext_input(x, ext_input_panel_height - y); 937 + draw_ext_input(ext_input_panel_width - x, ext_input_panel_height - y, nPress);
938 } 938 }
939 else { 939 else {
940 - draw_ext_input(ext_input_panel_height - y, ext_input_panel_width -x); 940 + draw_ext_input(ext_input_panel_height - y, x, nPress);
941 } 941 }
942 } 942 }
943 else { 943 else {