Skip to main content
Ctrl+K
Carbonite SDK - Home Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
Carbonite SDK - Home Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • Carbonite SDK API
  • Namespaces
  • carb
  • input
  • toPreviousButtonState

toPreviousButtonState#

Fully qualified name: carb::input::toPreviousButtonState

Defined in carb/input/InputUtils.h

inline PreviousButtonState carb::input::toPreviousButtonState(
bool wasDown,
)#

Converts a button state to a PreviousButtonState.

Parameters:

wasDown – true if the down; false if up.

Returns:

a PreviousButtonState conversion of the state.

previous

toCurrentButtonState

next

isFrameworkValid

On this page
  • toPreviousButtonState()
NVIDIA NVIDIA

Copyright © 2018-2025, NVIDIA Corporation.

Last updated on Aug 09, 2025.