Keyboard jogging disabled by default.

This commit is contained in:
2023-05-05 22:25:19 +03:00
parent 3913549b9e
commit 97b8186300
3 changed files with 222 additions and 99 deletions
+10
View File
@@ -222,6 +222,15 @@ struct parameters_cmp {
}
};
enum class jog_direction {
x_up,
x_down,
y_up,
y_down,
z_up,
z_down,
};
struct machine : public transport_callbacks {
machine();
~machine();
@@ -235,6 +244,7 @@ struct machine : public transport_callbacks {
void run_program(const grbl::program& pgm, const std::string& work_offset);
void check_program(const grbl::program& pgm);
void request_jog(jog_state jog) const;
void request_jog_fixed(jog_direction dir, float distance, float feed);
void cancel_jog() const;
[[nodiscard]] realtime_status_report get_status() const { return last_report; };