Questions tagged [gamecontroller]
The gamecontroller tag has no usage guidance.
gamecontroller
5
questions
7
votes
2
answers
2k
views
How do I use Apple's GameController framework from a macOS Command Line Tool?
I'm trying to get the following code to work as a macOS command line tool. It is important that this not be a Cocoa app, so that is not an option.
This same code works perfectly in the same project ...
4
votes
1
answer
3k
views
iOS Swift Interrupt Keyboard Events
I have problem to intercept keyboard events. I have connected my iOS with SteelSeries Free (gamepad controller) which when connected to iOS will be detected as a Bluetooth Keyboard. This is tested ...
2
votes
1
answer
2k
views
How to set up GCController valueChangeHandler Properly in Xcode?
I have successfully connected a steel series Nimbus dual analog controller to use for testing in both my iOS and tvOS apps. But I am unsure about how to properly set up the valueChangeHandler portion ...
0
votes
1
answer
713
views
Keeping the game paused after app become active?
It is my first post on this forum and I apologize in advance if I am doing something not in the right way ! :)
I am making an iphone game with Swift & SpriteKit and I am currently facing a ...
-2
votes
2
answers
197
views
Programming rotary encoder with timers
I've designed a custom PCB with an STM32F103CBT6 microcontroller and a 16 MHz crystal oscillator. The board features a button matrix with 16 push buttons, 2 standalone buttons, and 4 rotary encoders.
...