Differences From Artifact [64b22e0918]:
- File
src/hid/HIDGameControllerButton.m
— part of check-in
[39639cd987]
at
2024-06-02 21:24:25
on branch trunk
— Completely redesign and rewrite ObjFWHID
Right now only evdev is supported, support for others will be added back
later. (user: js, size: 1012) [annotate] [blame] [check-ins using]
To Artifact [558ba95814]:
- File
src/hid/OHGameControllerButton.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: 1010) [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 | * 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 "OHGameControllerButton.h" @implementation OHGameControllerButton @synthesize value = _value; - (bool)isPressed { return (_value > 0); } |
︙ | ︙ |