Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI for remapping keyboard keys to mFi controller and iCade controller #9

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ac889bb
early implementation of keyboard remapping UI with mfi controller
Apr 13, 2016
c44ca5e
first cut at support remapped keys for mfi controller
Apr 14, 2016
bc40435
tweaked UI for remap keyboard for readability
Apr 14, 2016
e525216
fixed ability to cancel key bindings, added option to reset to defaul…
Apr 14, 2016
d07151f
discover mfi controller when remap controls screen is displayed
Apr 14, 2016
fa0f4b5
support remapping keys for icade
Apr 14, 2016
e41bbd7
moved remap controls xib to xib folder
Apr 14, 2016
0dc5fcb
Allows "opening in" disk images from other apps (Files, Safari, etc.)…
Jul 6, 2018
6002c12
Merge branch 'master' into remap_controls
yoshisuga Sep 21, 2018
8aeb855
Merge pull request #1 from darkcrayon/master
yoshisuga Sep 22, 2018
db9434d
Merge branch 'master' into remap_controls
yoshisuga Sep 22, 2018
db24b04
support hfv disks in favorites tab
yoshisuga Sep 25, 2018
cc2221b
support iPhone X displays
yoshisuga Sep 25, 2018
1b3d11c
first pass at custom keyboard
yoshisuga Aug 1, 2020
094bafd
use a view model to interface with the view; support shift toggle for…
yoshisuga Aug 2, 2020
73764e9
made the alt keys toggle set at the view controller level; tweaked so…
yoshisuga Aug 2, 2020
1df30ba
Add support for more modifiers; keep modifier state updated
yoshisuga Aug 23, 2020
4f468b7
Adding prototype custom keyboard
yoshisuga Jan 18, 2021
bb56179
Add memory debugger
yoshisuga Jan 19, 2021
d2e512a
Added action controller as child vc to memory debugger controller; ch…
yoshisuga Jan 24, 2021
cc2fee3
Added a simple cheat/memory finder
yoshisuga Jan 31, 2021
97e5d8a
Debugger: added live screen view; pause/resume; added 6502 code inter…
yoshisuga Feb 4, 2021
5b8015c
reorganized code into logical folders
yoshisuga Feb 4, 2021
31c4370
support a interpreted code view
yoshisuga Feb 7, 2021
04f65c9
Support for searching references of memory address in code
yoshisuga Feb 14, 2021
de8edd0
cheat finder enhancements
yoshisuga Sep 19, 2021
c45aeb6
Merge remote-tracking branch 'upstream/master'
yoshisuga Sep 19, 2021
78cb587
Merge branch 'master' into remap_controls
yoshisuga Sep 19, 2021
10e2b56
Fixed video displaying in iOS 15
yoshisuga Sep 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions ActiveGS_iOS/ActiveGS/ActiveGS.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?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>com.apple.developer.user-fonts</key>
<array>
<string>app-usage</string>
<string>system-installation</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,77 +1,58 @@
{
"images" : [
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"subtype" : "retina4",
"scale" : "2x"
},
{
"subtype" : "2688h",
"filename" : "activegs-launch-iphonexsmax.png",
"minimum-system-version" : "12.0",
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadios5.png",
"extent" : "to-status-bar",
"scale" : "1x"
"scale" : "3x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPad-ios5.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"idiom" : "iphone",
"subtype" : "2688h",
"filename" : "activegs-launch-iphonexsmaxland.png",
"minimum-system-version" : "12.0",
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadland-ios5.png",
"extent" : "to-status-bar",
"scale" : "1x"
"scale" : "3x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"scale" : "1x"
},
{
"idiom" : "iphone",
"subtype" : "1792h",
"filename" : "activegs-launch-iphonexr.png",
"minimum-system-version" : "12.0",
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadretina-ios5.png",
"extent" : "to-status-bar",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadretina-ios5-1.png",
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "1792h",
"filename" : "activegs-launch-iphonexrland.png",
"minimum-system-version" : "12.0",
"orientation" : "landscape",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadretinaland-iOS5.png",
"extent" : "to-status-bar",
"scale" : "2x"
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "2436h",
"filename" : "activegs-launch-iphonex.png",
"minimum-system-version" : "11.0",
"orientation" : "portrait",
"scale" : "3x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"scale" : "2x"
"idiom" : "iphone",
"subtype" : "2436h",
"filename" : "activegs-launch-iphonexland.png",
"minimum-system-version" : "11.0",
"orientation" : "landscape",
"scale" : "3x"
},
{
"extent" : "full-screen",
Expand Down Expand Up @@ -148,6 +129,79 @@
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"subtype" : "retina4",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadios5.png",
"extent" : "to-status-bar",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPad-ios5.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadland-ios5.png",
"extent" : "to-status-bar",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadretina-ios5.png",
"extent" : "to-status-bar",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadretina-ios5-1.png",
"extent" : "full-screen",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "activegs-launch-iPadretinaland-iOS5.png",
"extent" : "to-status-bar",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"extent" : "full-screen",
"scale" : "2x"
}
],
"info" : {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions ActiveGS_iOS/KeyCapView.xib
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10116" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="KeyCapView">
<rect key="frame" x="0.0" y="0.0" width="183" height="156"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WuS-sc-nnF" userLabel="Key">
<rect key="frame" x="4" y="4" width="18" height="12"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Mapped Button" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CsD-e8-zpW">
<rect key="frame" x="100" y="140" width="79" height="12"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="10"/>
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="S-Key" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DoM-mH-zdu" userLabel="Key Alt Label">
<rect key="frame" x="4" y="140" width="29" height="12"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="CsD-e8-zpW" secondAttribute="trailing" constant="4" id="0QF-nq-bp4"/>
<constraint firstItem="WuS-sc-nnF" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="4" id="EG2-YO-isI"/>
<constraint firstAttribute="bottom" secondItem="DoM-mH-zdu" secondAttribute="bottom" constant="4" id="XtK-Xm-l8n"/>
<constraint firstAttribute="bottom" secondItem="CsD-e8-zpW" secondAttribute="bottom" constant="4" id="bLA-GT-HXu"/>
<constraint firstItem="DoM-mH-zdu" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="4" id="iGg-gd-FfI"/>
<constraint firstItem="WuS-sc-nnF" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="4" id="oKU-fu-MTZ"/>
</constraints>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="keyLabel" destination="WuS-sc-nnF" id="Fge-Us-qip"/>
<outlet property="keyLabelAlt" destination="DoM-mH-zdu" id="AOv-CK-LvA"/>
<outlet property="mappedButtonLabel" destination="CsD-e8-zpW" id="p4m-si-1HQ"/>
</connections>
<point key="canvasLocation" x="190.5" y="137"/>
</view>
</objects>
</document>
Loading