Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsfrei committed Aug 23, 2020
0 parents commit 1dd8d25
Show file tree
Hide file tree
Showing 19 changed files with 1,371 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Scrolly

Is a small program with the sole purpose to change the scroll wheel lines for
non continues scrolling devices ( a classical mouse) from `1 .. n`
(depending on how furious you scroll) to constant `3` in Mac OSX.

## Compile

```
xcodebuild -target Scrolly -configuration Release
```
## How to use

To be able to use `Scrolly` you need to go to

`Preferences -> Security & Privacy -> Accessibility`

and then add `Scrolly`. This allows `Scrolly` to listen to change events.

After that you can start `Scrolly`, there will be no message or visual feedback.

To start `Scrolly` at login you need to go to `Preferences -> Users & Groups -> Login Items`.
350 changes: 350 additions & 0 deletions Scrolly.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,350 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
4AF0614624F2C8DD00E015C4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AF0614524F2C8DD00E015C4 /* AppDelegate.swift */; };
4AF0614A24F2C8DE00E015C4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4AF0614924F2C8DE00E015C4 /* Assets.xcassets */; };
4AF0614D24F2C8DE00E015C4 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4AF0614C24F2C8DE00E015C4 /* Preview Assets.xcassets */; };
4AF0615024F2C8DE00E015C4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4AF0614E24F2C8DE00E015C4 /* Main.storyboard */; };
4AF0615924F2CAE900E015C4 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4AF0615824F2CAE900E015C4 /* Images.xcassets */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
4AF0614224F2C8DD00E015C4 /* Scrolly.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Scrolly.app; sourceTree = BUILT_PRODUCTS_DIR; };
4AF0614524F2C8DD00E015C4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4AF0614924F2C8DE00E015C4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4AF0614C24F2C8DE00E015C4 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
4AF0614F24F2C8DE00E015C4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
4AF0615124F2C8DE00E015C4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4AF0615224F2C8DE00E015C4 /* Scrolly.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Scrolly.entitlements; sourceTree = "<group>"; };
4AF0615824F2CAE900E015C4 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
4AF0613F24F2C8DD00E015C4 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
4AF0613924F2C8DD00E015C4 = {
isa = PBXGroup;
children = (
4AF0614424F2C8DD00E015C4 /* Scrolly */,
4AF0614324F2C8DD00E015C4 /* Products */,
);
sourceTree = "<group>";
};
4AF0614324F2C8DD00E015C4 /* Products */ = {
isa = PBXGroup;
children = (
4AF0614224F2C8DD00E015C4 /* Scrolly.app */,
);
name = Products;
sourceTree = "<group>";
};
4AF0614424F2C8DD00E015C4 /* Scrolly */ = {
isa = PBXGroup;
children = (
4AF0614524F2C8DD00E015C4 /* AppDelegate.swift */,
4AF0614924F2C8DE00E015C4 /* Assets.xcassets */,
4AF0614E24F2C8DE00E015C4 /* Main.storyboard */,
4AF0615124F2C8DE00E015C4 /* Info.plist */,
4AF0615224F2C8DE00E015C4 /* Scrolly.entitlements */,
4AF0614B24F2C8DE00E015C4 /* Preview Content */,
4AF0615824F2CAE900E015C4 /* Images.xcassets */,
);
path = Scrolly;
sourceTree = "<group>";
};
4AF0614B24F2C8DE00E015C4 /* Preview Content */ = {
isa = PBXGroup;
children = (
4AF0614C24F2C8DE00E015C4 /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
4AF0614124F2C8DD00E015C4 /* Scrolly */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4AF0615524F2C8DE00E015C4 /* Build configuration list for PBXNativeTarget "Scrolly" */;
buildPhases = (
4AF0613E24F2C8DD00E015C4 /* Sources */,
4AF0613F24F2C8DD00E015C4 /* Frameworks */,
4AF0614024F2C8DD00E015C4 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Scrolly;
productName = Scrolly;
productReference = 4AF0614224F2C8DD00E015C4 /* Scrolly.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
4AF0613A24F2C8DD00E015C4 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1160;
LastUpgradeCheck = 1160;
ORGANIZATIONNAME = phil;
TargetAttributes = {
4AF0614124F2C8DD00E015C4 = {
CreatedOnToolsVersion = 11.6;
};
};
};
buildConfigurationList = 4AF0613D24F2C8DD00E015C4 /* Build configuration list for PBXProject "Scrolly" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 4AF0613924F2C8DD00E015C4;
productRefGroup = 4AF0614324F2C8DD00E015C4 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
4AF0614124F2C8DD00E015C4 /* Scrolly */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
4AF0614024F2C8DD00E015C4 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4AF0615024F2C8DE00E015C4 /* Main.storyboard in Resources */,
4AF0615924F2CAE900E015C4 /* Images.xcassets in Resources */,
4AF0614D24F2C8DE00E015C4 /* Preview Assets.xcassets in Resources */,
4AF0614A24F2C8DE00E015C4 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
4AF0613E24F2C8DD00E015C4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4AF0614624F2C8DD00E015C4 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
4AF0614E24F2C8DE00E015C4 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
4AF0614F24F2C8DE00E015C4 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
4AF0615324F2C8DE00E015C4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
4AF0615424F2C8DE00E015C4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
name = Release;
};
4AF0615624F2C8DE00E015C4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Scrolly/Scrolly.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_ASSET_PATHS = "\"Scrolly/Preview Content\"";
DEVELOPMENT_TEAM = 3KHAA5YQG7;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = Scrolly/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = nichtsfrei.Scrolly;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
4AF0615724F2C8DE00E015C4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Scrolly/Scrolly.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_ASSET_PATHS = "\"Scrolly/Preview Content\"";
DEVELOPMENT_TEAM = 3KHAA5YQG7;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = Scrolly/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = nichtsfrei.Scrolly;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
4AF0613D24F2C8DD00E015C4 /* Build configuration list for PBXProject "Scrolly" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4AF0615324F2C8DE00E015C4 /* Debug */,
4AF0615424F2C8DE00E015C4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4AF0615524F2C8DE00E015C4 /* Build configuration list for PBXNativeTarget "Scrolly" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4AF0615624F2C8DE00E015C4 /* Debug */,
4AF0615724F2C8DE00E015C4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 4AF0613A24F2C8DD00E015C4 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 1dd8d25

Please sign in to comment.