ObjFW  Artifact [17e8f0e6b0]

Artifact 17e8f0e6b08cfa6774d072bce504ef7f197d24a33020c2ad52c6c7f0cdfc0781:

  • File src/hid/OHGCFGameControllerProfile.h — part of check-in [58ad113413] at 2024-12-26 15:47:44 on branch trunk — OHGCFGameControllerProfile: Fix typo (user: js size: 1802)

/*
 * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
 *
 * All rights reserved.
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License version 3.0 only,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * version 3.0 for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3.0 along with this program. If not, see
 * <https://www.gnu.org/licenses/>.
 */

#import <GameController/GameController.h>

#import "OHGameControllerProfile.h"
#import "OHGCFGameController.h"

OF_ASSUME_NONNULL_BEGIN

@class OHGameControllerElement;
@class GCControllerInputState;
@class GCControllerLiveInput;
@protocol GCGameControllerPhysicalElement;

__attribute__((__availability__(macOS, introduced=14.0)))
__attribute__((__availability__(iOS, introduced=17.0)))
@interface OHGCFGameControllerProfile: OFObject <OHGameControllerProfile,
    OHGCFMapping>
{
	OFDictionary<OFString *, OHGameControllerButton *> *_buttons;
	OFDictionary<OFString *, OHGameControllerAxis *> *_axes;
	OFDictionary<OFString *, OHGameControllerDirectionalPad *>
	    *_directionalPads;
	OFDictionary<NSString *, OHGameControllerButton *> *_buttonsMap;
	OFDictionary<NSString *, OHGameControllerAxis *> *_axesMap;
	OFDictionary<NSString *, OHGameControllerDirectionalPad *>
	    *_directionalPadsMap;
}

- (instancetype)init OF_UNAVAILABLE;
- (instancetype)oh_initWithLiveInput: (GCControllerLiveInput *)liveInput
    OF_METHOD_FAMILY(init);
@end

OF_ASSUME_NONNULL_END