--- /dev/null
+{ Filter = { Bundles = ( "com.apple.UIKit" ); }; }
--- /dev/null
+TARGET := iphone:clang:latest:7.0
+INSTALL_TARGET_PROCESSES = SpringBoard
+
+ARCHS := arm64 arm64e
+
+include $(THEOS)/makefiles/common.mk
+
+TWEAK_NAME = HapticKeyboard
+
+HapticKeyboard_FILES = Tweak.x
+HapticKeyboard_CFLAGS = -fobjc-arc
+
+include $(THEOS_MAKE_PATH)/tweak.mk
--- /dev/null
+@interface UIKeyboardLayoutStar : UIView
+@property (nonatomic, retain) UIImpactFeedbackGenerator *feedback;
+@end
+
+%hook UIKeyboardLayoutStar
+%property (nonatomic, retain) UIImpactFeedbackGenerator *feedback;
+
+-(void)touchDownWithKey:(id)arg1 withTouchInfo:(id)arg2 atPoint:(CGPoint)arg3 executionContext:(id)arg4
+{
+ %orig;
+ if (!self.feedback)
+ self.feedback = UIImpactFeedbackGenerator.alloc.init;
+ [self.feedback prepare];
+ [self.feedback impactOccurred];
+}
+
+%end
--- /dev/null
+Package: com.cameronkatri.haptickeyboard
+Name: HapticKeyboard
+Version: 0.0.1
+Architecture: iphoneos-arm
+Description: An awesome MobileSubstrate tweak!
+Maintainer: Cameron Katri <me@cameronkatri.com>
+Author: Cameron Katri <me@cameronkatri.com>
+Section: Tweaks
+Depends: mobilesubstrate (>= 0.9.5000)