Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Santroller/Santroller
/ tickDigital
Method
tickDigital
src/input/ps2.cpp:9–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
{
8
}
9
bool PS2AxisInput::tickDigital()
10
{
11
return m_device->readAxis(m_input.axis) > 0;
12
}
13
uint16_t PS2AxisInput::tickAnalog()
14
{
15
return m_device->readAxis(m_input.axis);
Callers
2
update
Method · 0.45
validate
Method · 0.45
Calls
2
readAxis
Method · 0.45
readButton
Method · 0.45
Tested by
no test coverage detected