MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / x360_notify

Function x360_notify

src/platform/windows/input.cpp:409–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407 };
408
409 void CALLBACK x360_notify(
410 client_t::pointer client,
411 target_t::pointer target,
412 std::uint8_t largeMotor,
413 std::uint8_t smallMotor,
414 std::uint8_t /* led_number */,
415 void *userdata
416 ) {
417 BOOST_LOG(debug)
418 << "largeMotor: "sv << (int) largeMotor << std::endl
419 << "smallMotor: "sv << (int) smallMotor;
420
421 task_pool.push(&vigem_t::rumble, (vigem_t *) userdata, target, largeMotor, smallMotor);
422 }
423
424 void CALLBACK ds4_notify(
425 client_t::pointer client,

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected