stick 0.13.0

Platform-agnostic asynchronous gamepad, joystick and flighstick library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Stick
// Copyright © 2017-2021 Jeron Aldaron Lau.
//
// Licensed under any of:
// - Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
// - MIT License (https://mit-license.org/)
// - Boost Software License, Version 1.0 (https://www.boost.org/LICENSE_1_0.txt)
// At your option (See accompanying files LICENSE_APACHE_2_0.txt,
// LICENSE_MIT.txt and LICENSE_BOOST_1_0.txt).  This file may not be copied,
// modified, or distributed except according to those terms.

pub(super) fn global() -> Box<dyn super::Global> {
    Box::new(super::FakeGlobal)
}