update
This commit is contained in:
@@ -135,7 +135,8 @@ GamepadCommand GamepadMapper::Step(const GamepadState& s, UnixTime now) {
|
||||
|
||||
// --- Coc LT: giu de dung -------------------------------------------------
|
||||
// Thu ma header base_kit hua nhung code khong co. Mac dinh TAT.
|
||||
if (cfg_.lt_stop && s.Axis(cfg_.axis_lt) < cfg_.lt_press_below) {
|
||||
// Nghi o -1.0, bop len +1.0 -- do duoc tren chinh tay cam nay, xem gamepad.h.
|
||||
if (cfg_.lt_stop && s.Axis(cfg_.axis_lt) > cfg_.lt_press_above) {
|
||||
out.publish = true;
|
||||
out.linear = 0.0;
|
||||
out.angular = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user