mirror of
https://github.com/trudnai/Steve2.git
synced 2024-12-22 06:29:15 +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)",
|
"$(inherited)",
|
||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
|
MARKETING_VERSION = 0.84;
|
||||||
OTHER_CFLAGS = (
|
OTHER_CFLAGS = (
|
||||||
"-D_NO_DISASSEMBLER",
|
"-D_NO_DISASSEMBLER",
|
||||||
"-D_NO_INTERRUPT_CHECK_PER_STEP",
|
"-D_NO_INTERRUPT_CHECK_PER_STEP",
|
||||||
@ -1600,6 +1601,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
LLVM_LTO = YES_THIN;
|
LLVM_LTO = YES_THIN;
|
||||||
|
MARKETING_VERSION = 0.84;
|
||||||
OTHER_CFLAGS = (
|
OTHER_CFLAGS = (
|
||||||
"-D_NO_DISASSEMBLER",
|
"-D_NO_DISASSEMBLER",
|
||||||
"-D_NO_INTERRUPT_CHECK_PER_STEP",
|
"-D_NO_INTERRUPT_CHECK_PER_STEP",
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.0</string>
|
<string>$(MARKETING_VERSION)</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
|
@ -853,13 +853,13 @@ class ViewController: NSViewController {
|
|||||||
// Mouse 2 JoyStick (Game Controller / Paddle)
|
// Mouse 2 JoyStick (Game Controller / Paddle)
|
||||||
mouseLocation = view.window!.mouseLocationOutsideOfEventStream
|
mouseLocation = view.window!.mouseLocationOutsideOfEventStream
|
||||||
|
|
||||||
if ( Mouse2Joystick || Keyboard2Joystick ) {
|
// if ( Mouse2Joystick || Keyboard2Joystick ) {
|
||||||
if let flags = NSApp.currentEvent?.modifierFlags {
|
// if let flags = NSApp.currentEvent?.modifierFlags {
|
||||||
if flags.contains(.command){
|
// if flags.contains(.command){
|
||||||
// somethings
|
// // somethings
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
if ( Mouse2Joystick ) {
|
if ( Mouse2Joystick ) {
|
||||||
pdl_prevarr[0] = pdl_valarr[0]
|
pdl_prevarr[0] = pdl_valarr[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user