Differences From Artifact [921a669bf3]:
- File src/hid/HIDGameControllerEmulatedButton.m — part of check-in [112d9a496f] at 2024-06-02 22:17:11 on branch trunk — Fix missing import and fix typo (user: js, size: 1623) [annotate] [blame] [check-ins using]
To Artifact [1d9492427b]:
- File
src/hid/OHGameControllerEmulatedButton.m
— part of check-in
[afae3291bf]
at
2024-06-03 19:39:51
on branch trunk
— ObjFWHID: Change prefix to OH
Let's leave 3 letter prefixes to 3rd parties. (user: js, size: 1618) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
15 16 17 18 19 20 21 | * 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/>. */ #include "config.h" | | | | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | * 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/>. */ #include "config.h" #import "OHGameControllerEmulatedButton.h" #import "OHGameControllerAxis.h" @implementation OHGameControllerEmulatedButton: OHGameControllerButton - (instancetype)initWithName: (OFString *)name { OF_INVALID_INIT_METHOD } - (instancetype)initWithAxis: (OHGameControllerAxis *)axis positive: (bool)positive { void *pool = objc_autoreleasePoolPush(); OFString *name; @try { name = [OFString stringWithFormat: |
︙ | ︙ |