MCPcopy Create free account
hub / github.com/JibbSmart/JoyShockMapper / getMouseSpeed

Function getMouseSpeed

JoyShockMapper/src/linux/InputHelpers.cpp:469–472  ·  view source on GitHub ↗

get the user's mouse sensitivity multiplier from the user. In Windows it's an int, but who cares? it's well within range for float to represent it exactly also, if this is ported to other platforms, we might want non-integer sensitivities

Source from the content-addressed store, hash-verified

467// it's well within range for float to represent it exactly also, if this is ported to other
468// platforms, we might want non-integer sensitivities
469float getMouseSpeed()
470{
471 return 1.0;
472}
473
474namespace
475{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected