mirror of
https://github.com/trudnai/Steve2.git
synced 2024-12-21 14:30:09 +00:00
Disable Keyboard 2 Joystick button polling -- that should work through normal event handler
This commit is contained in:
parent
99656013ee
commit
6e69b2bf5d
@ -1563,6 +1563,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 0.84;
|
||||
OTHER_CFLAGS = (
|
||||
"-D_NO_DISASSEMBLER",
|
||||
"-D_NO_INTERRUPT_CHECK_PER_STEP",
|
||||
@ -1600,6 +1601,7 @@
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
LLVM_LTO = YES_THIN;
|
||||
MARKETING_VERSION = 0.84;
|
||||
OTHER_CFLAGS = (
|
||||
"-D_NO_DISASSEMBLER",
|
||||
"-D_NO_INTERRUPT_CHECK_PER_STEP",
|
||||
|
@ -19,7 +19,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
|
@ -853,13 +853,13 @@ class ViewController: NSViewController {
|
||||
// Mouse 2 JoyStick (Game Controller / Paddle)
|
||||
mouseLocation = view.window!.mouseLocationOutsideOfEventStream
|
||||
|
||||
if ( Mouse2Joystick || Keyboard2Joystick ) {
|
||||
if let flags = NSApp.currentEvent?.modifierFlags {
|
||||
if flags.contains(.command){
|
||||
// somethings
|
||||
}
|
||||
}
|
||||
}
|
||||
// if ( Mouse2Joystick || Keyboard2Joystick ) {
|
||||
// if let flags = NSApp.currentEvent?.modifierFlags {
|
||||
// if flags.contains(.command){
|
||||
// // somethings
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
if ( Mouse2Joystick ) {
|
||||
pdl_prevarr[0] = pdl_valarr[0]
|
||||
|
Loading…
Reference in New Issue
Block a user