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
  • toCurrentButtonState

toCurrentButtonState#

Fully qualified name: carb::input::toCurrentButtonState

Defined in carb/input/InputUtils.h

inline CurrentButtonState carb::input::toCurrentButtonState(
bool isDown,
)#

Converts a button state to a CurrentButtonState.

Parameters:

isDown – true if the down; false if up.

Returns:

a CurrentButtonState conversion of the state.

previous

toButtonFlags

next

toPreviousButtonState

On this page
  • toCurrentButtonState()
NVIDIA NVIDIA

Copyright © 2018-2025, NVIDIA Corporation.

Last updated on Aug 09, 2025.