A settings file is one JSON file that holds a screen layout and the actions that go with it. It can also hold a landscape layout.
Importing one replaces your layout and adds its actions to My Set. If My Set already has an action for the same moves, the one in the file replaces it. If the file has no landscape layout, your landscape layout stays as it is. A file missing its layout or actions changes nothing.
Importing and exporting need the Full Version.
Boombox
Keys play, pause, and skip. The reel chooses songs, and the roller sets the volume.
Focus Timer
Slide and spin the reel to start a 25-minute or 5-minute timer.
Flashlight Panel
Button: flashlight. Lever: blink. Switch: SOS. Bolt: white screen. Roller: brightness.
Each sample's screens and full contents are at the bottom of this page.
Download a file and save it to the Files app.
In Analog Click, open Settings and choose Import Settings File.
Check the contents and tap Import.
In Settings, choose Export Settings File. Your layouts for both orientations and My Set are saved to one file. You can edit the exported file and import it again.
A settings file is a UTF-8 text file with the extension .json. You can write one in any text editor, or give this page to an AI assistant and describe the panel you want. Everything the app reads is described below.
{
"version": 1,
"name": "My Panel",
"layout": ["knock:0:0", "slider:1:3", "reel:1:5"],
"layoutLandscape": ["knock:0:0", "reel:0:2", "slider:6:2"],
"bindings": [
{ "actions": ["knockIn"], "builtIn": "toggleLight" },
{ "actions": ["sliderRight", "reelSpin"], "builtIn": "timer25" },
{ "actions": ["knockOut"], "builtIn": "showText", "text": "Back in 5 minutes" }
],
"analog": [
{ "control": "reel", "target": "volume" }
]
}
version (required): Always 1.
name (required): The file's name, 1 to 100 characters. It is shown when you import the file.
layout (required): The portrait layout. A list of controls and where they go. At least one.
layoutLandscape (optional): The landscape layout, written the same way. Leave it out to keep your current landscape layout. If you include it, it can't be empty.
bindings (required): The actions. Each one runs a built-in action when you move controls in a set order. 1 to 100 of them.
analog (optional): Controls that set a level directly while you move them, like a volume wheel.
Names are case-sensitive. Keys the app doesn't know are ignored. The file can be up to 1 MB.
Each entry is "control:column:row". The column and row are the cell of the control's top-left corner. Counting starts at 0 from the top left.
Portrait: 6 columns by 12 rows. Columns 0 to 5, rows 0 to 11.
Landscape: 12 columns by 6 rows. Columns 0 to 11, rows 0 to 5.
The top-right cell holds the settings button and can't be used: 5:0 in portrait, 11:0 in landscape.
A control must fit inside the grid and can't overlap another control.
Most controls can be placed twice. Add 2 to the name for the second one, like knock2. Place the first one too.
Some controls have a large size, like sliderLarge. A control and its large size can't both be on the screen, and the large size has no second copy.
The Track Display (trackDisplay) can be placed once.
If any entry breaks these rules, the file isn't imported.
Every standard control, portrait. Each cell shows its column:row. The red cell is the settings button.
Large sizes and second copies, landscape.
Size is columns × rows. The moves are what you write in actions. The analog name is what you write in analog.
knock Click Button / ノック式ボタン, 2×2. Moves: knockIn, knockOut.
weight Weight / おもり, 1×2. Moves: weightUp, weightDown. Shake the iPhone to move it. Shaking does nothing unless a weight is on the screen.
lever Flip Lever / 跳ね上げレバー, 2×2. Moves: leverUp, leverDown.
slider Slider / スライダー, 4×1. sliderLarge, 6×3. Moves: sliderLeft, sliderRight. Analog: slider.
roller Horizontal Roller / 横ローラー, 4×1. rollerLarge, 4×2. Move: rollerSpin. Analog: roller.
reel Reel / リール, 4×4. reelLarge, 6×6, can show your songs in its center. Moves: reelSpin, reelClockwise, reelCounterclockwise. Analog: reel.
verticalRoller Vertical Roller / 縦ローラー, 1×2. verticalRollerLarge, 2×4. Move: verticalRollerSpin. Analog: verticalRoller.
guardedSwitch Guarded Switch / カバー付きスイッチ, 2×2. Moves: switchOn, switchOff.
bolt Cocking Bolt / コッキングボルト, 4×1. boltLarge, 4×2. Move: boltCycle.
arrows Arrow Buttons / 矢印ボタン, 4×2. Moves: arrowLeft, arrowCenter, arrowRight.
trackDisplay Track Display / 曲名表示, 6×2. No moves. Shows your songs while a control is set to trackList.
Second copies: knock2, weight2, lever2, slider2, roller2, reel2, verticalRoller2, guardedSwitch2, bolt2, arrows2. A large size counts as the first copy, so reelLarge sends the same moves as reel.
{ "actions": ["sliderRight", "reelSpin"], "builtIn": "timer25" }
actions (required): The moves, in order, 1 to 3 of them. Do them all within 4 seconds and the built-in action runs.
builtIn (required): What runs. See the list below.
text: Only for the five built-in actions that need words or an address, and required for them. 1 to 500 characters. Don't write it for any other action.
How moves are matched:
A move without 2 runs from either copy of a control. knockIn works on knock and knock2.
A move ending in 2 runs only from the second copy, like knockIn2. Every move has a 2 form.
reelSpin matches a spin in either direction. reelClockwise and reelCounterclockwise match only one direction.
When two actions could run, the one with more moves wins.
Each order of moves runs one action. If two bindings have the same moves, the last one is used.
An action only runs if its controls are on the screen.
Moves:
knockIn Press the button in / ボタンを押し込む
knockOut Release the button / ボタンを戻す
weightUp Shake weight up / 振っておもりを上へ
weightDown Shake weight down / 振っておもりを下へ
leverUp Flip lever up / レバーを上げる
leverDown Flip lever down / レバーを下げる
sliderLeft Slide left / スライダーを左へ
sliderRight Slide right / スライダーを右へ
rollerSpin Spin the roller / ローラーを回す
reelSpin Spin the reel / リールを回す
reelClockwise Spin reel clockwise / リールを時計回りに回す
reelCounterclockwise Spin reel counterclockwise / リールを反時計回りに回す
verticalRollerSpin Spin the vertical roller / 縦ローラーを回す
switchOn Flip switch on / スイッチをオンにする
switchOff Flip switch off / スイッチをオフにする
boltCycle Pull and release the bolt / ボルトを引いて放す
arrowLeft Press left arrow / 左の矢印を押す
arrowCenter Press center button / 中央のボタンを押す
arrowRight Press right arrow / 右の矢印を押す
Music
playMusic Play music / 音楽を再生
pauseMusic Pause music / 音楽を一時停止
togglePlayback Toggle play/pause / 再生と一時停止を切り替え
nextTrack Next track / 次の曲
previousTrack Previous track / 前の曲
restartTrack Restart track / 曲の先頭に戻る
seekForward Forward 15 seconds / 15秒早送り
seekBackward Back 15 seconds / 15秒巻き戻し
toggleShuffle Toggle shuffle / シャッフルを切り替え
toggleRepeat Toggle repeat / リピートを切り替え
Volume
volumeUp Volume up / 音量を上げる
volumeDown Volume down / 音量を下げる
mute Toggle mute / 消音を切り替え
Screen
brightnessUp Brighter / 明るくする
brightnessDown Dimmer / 暗くする
brightnessMax Maximum brightness / 明るさを最大にする
brightnessMin Minimum brightness / 明るさを最小にする
toggleKeepAwake Toggle keep screen on / 画面を消さないモードを切り替え
toggleWhiteScreen Light the screen white / 画面全体を白く光らせる
toggleDarkScreen Black out the screen / 画面全体を暗くする
Flashlight
toggleLight Toggle flashlight / ライトを切り替え
lightOn Flashlight on / ライトをつける
lightOff Flashlight off / ライトを消す
cycleLightLevel Change flashlight brightness / ライトの明るさを切り替え
blinkLight Blink flashlight / ライトを点滅
sosLight Flash SOS / ライトをSOS点滅
Vibration
vibrateShort Short vibration / 短く振動
vibrateLong Long vibration / 長く振動
vibrateRhythm Vibrate in rhythm / リズムで振動
Sounds
playChime Play a chime / チャイムを鳴らす
toggleMetronome Toggle metronome / メトロノームを切り替え
toggleWhiteNoise Toggle white noise / ホワイトノイズを切り替え
toggleRain Toggle rain sounds / 雨音を切り替え
Speech
speakTime Speak time / 時刻を読み上げ
speakDate Speak date / 日付を読み上げ
speakBattery Speak battery level / バッテリー残量を読み上げ
speakStorage Speak free storage / 空き容量を読み上げ
speakText Speak saved text / 登録した文章を読み上げ. Needs text: the words to speak.
Display
showTime Show time / 時刻を表示
showDate Show date / 日付を表示
showBattery Show battery level / バッテリー残量を表示
showStorage Show free storage / 空き容量を表示
showText Show saved message / 登録したメッセージを表示. Needs text: the message.
Timers
timer1 1-minute timer / 1分タイマー
timer3 3-minute timer / 3分タイマー
timer5 5-minute timer / 5分タイマー
timer10 10-minute timer / 10分タイマー
timer25 25-minute timer / 25分タイマー
cancelTimer Cancel timer / タイマーを取り消す
toggleStopwatch Start/stop stopwatch / ストップウォッチを開始/停止
resetStopwatch Reset stopwatch / ストップウォッチをリセット
Counter and log
counterUp Count up / カウンターを増やす
counterDown Count down / カウンターを減らす
counterReset Reset counter / カウンターをリセット
logTime Log current date and time / 今の日時を記録
copyLog Copy logged times / 記録した日時をコピー
Random
coinFlip Flip a coin / コイントス
rollDice Roll a die / サイコロを振る
randomNumber Random number 1–100 / 1〜100の数字を抽選
pickFromList Pick from a saved list / 登録した項目から抽選. Needs text: the items, separated by commas (, or 、) or new lines.
Copy
copyText Copy saved text / 登録した文章をコピー. Needs text: the text to copy.
copyDateTime Copy current date and time / 今の日時をコピー
App
cycleColor Switch color / カラーを切り替え
cycleSound Switch sound pattern / 音のパターンを切り替え
cycleLayout Switch layout / 画面の配置を切り替え
cycleSet Switch action set / 動作のセットを切り替え
resetControls Reset the slider and other controls / スライダーなどの位置をリセット
lockControls Lock controls / 操作をロック
unlockControls Unlock controls / ロックを解除
Open
openURL Open URL / URLを開く. Needs text: an address such as https://, maps:, mailto:, sms:, or tel:.
openAppSettings Open this app's settings / このアプリの設定画面を開く
The lock only holds while a Click Button is on the screen and one of your actions runs unlockControls, so you can always unlock. While locked, only unlockControls runs.
{ "control": "roller", "target": "volume" }
control: slider, roller, verticalRoller, reel, or reel2.
target: volume (Volume / 音量), brightness (Screen brightness / 画面の明るさ), lightLevel (Flashlight brightness / ライトの明るさ), playbackRate (Playback speed / 再生速度), or trackList (Song selection / 曲の選択).
Each control sets one level. If a control is listed twice, the last one is used.
reel is the first reel or the large reel, and reel2 is the second reel. slider, roller, and verticalRoller mean both copies and the large size.
trackList shows your songs on the Track Display or in the center of the large reel. Turn the control to choose a song.
A control can send moves for bindings and set a level at the same time.
"The file is too large.": Keep it under 1 MB.
"Couldn't read this file format.": Check for missing commas or brackets, a missing version or name, and misspelled moves or built-in actions.
"This file version isn't supported.": Set version to 1.
"A settings file needs both a layout and actions. Nothing was changed.": Add layout and at least one binding. An empty layoutLandscape also causes this.
A message about the layout: A control is unknown, outside the grid, overlapping another, on the settings button, listed twice, or placed in both sizes.
A message about the number of moves or the text: Use 1 to 3 moves, and write text only where it's needed.
Give an AI assistant this page and say what you want, for example: "Make an Analog Click settings file. Portrait and landscape. A lever that starts a 10-minute timer, a Click Button that locks and unlocks, and a roller for volume." Then check that every control fits the grid in both directions before you import it.
Each picture shows the sample on screen with the grid drawn over it. The labels match the layout entries in the file.
Arrow Buttons arrows: left plays the previous track, center plays or pauses, right plays the next track.
Horizontal Roller roller: volume.
Large Reel reelLarge: spin to choose a song from the list in its center.
{
"version": 1,
"name": "Boombox",
"layout": ["arrows:0:0", "roller:1:3", "reelLarge:0:5"],
"layoutLandscape": ["reelLarge:0:0", "roller:7:1", "arrows:7:3"],
"bindings": [
{ "actions": ["arrowCenter"], "builtIn": "togglePlayback" },
{ "actions": ["arrowRight"], "builtIn": "nextTrack" },
{ "actions": ["arrowLeft"], "builtIn": "previousTrack" }
],
"analog": [
{ "control": "reel", "target": "trackList" },
{ "control": "roller", "target": "volume" }
]
}
Slider right, then spin the Reel: 25-minute timer.
Slider left, then spin the Reel: 5-minute timer.
Press the Click Button in: cancel the timer.
Flip the lever up: keep the screen on, or stop keeping it on.
{
"version": 1,
"name": "Focus Timer",
"layout": ["lever:0:0", "knock:2:0", "slider:1:3", "reel:1:5"],
"layoutLandscape": ["lever:0:0", "knock:2:0", "reel:0:2", "slider:6:2"],
"bindings": [
{ "actions": ["sliderRight", "reelSpin"], "builtIn": "timer25" },
{ "actions": ["sliderLeft", "reelSpin"], "builtIn": "timer5" },
{ "actions": ["knockIn"], "builtIn": "cancelTimer" },
{ "actions": ["leverUp"], "builtIn": "toggleKeepAwake" }
]
}
Click Button, in or out: turn the flashlight on or off.
Flip the lever up: blink the flashlight.
Guarded Switch on: flash SOS.
Pull and release the bolt: light the screen white, or turn it back.
Horizontal Roller: flashlight brightness.
{
"version": 1,
"name": "Flashlight Panel",
"layout": ["knock:0:0", "lever:2:0", "guardedSwitch:0:3", "bolt:1:6", "roller:1:8"],
"layoutLandscape": ["knock:0:0", "lever:2:0", "guardedSwitch:5:0", "bolt:5:3", "roller:5:5"],
"bindings": [
{ "actions": ["knockIn"], "builtIn": "toggleLight" },
{ "actions": ["knockOut"], "builtIn": "toggleLight" },
{ "actions": ["leverUp"], "builtIn": "blinkLight" },
{ "actions": ["switchOn"], "builtIn": "sosLight" },
{ "actions": ["boltCycle"], "builtIn": "toggleWhiteScreen" }
],
"analog": [
{ "control": "roller", "target": "lightLevel" }
]
}
The downloadable files are formatted differently but have the same contents.
gsolyamasita@gmail.com
設定ファイルは、画面の配置と動作を1つにまとめたJSONファイルです。横画面の配置も入れられます。読み込むと、配置は置き換わり、動作はマイセットに追加されます。マイセットに同じ操作の動作があるときは、ファイルの内容に置き換わります。横画面の配置がないファイルを読み込んでも、横画面の配置は変わりません。配置か動作のどちらかが欠けたファイルでは、何も変更されません。読み込みと書き出しにはフル版が必要です。
上のサンプルをダウンロードして「ファイル」アプリに保存し、アプリの設定の「設定ファイルを読み込む」から読み込んでください。「設定ファイルを書き出す」を選ぶと、縦横の配置とマイセットが1つのファイルに保存されます。
文字コードUTF-8、拡張子 .json のテキストファイルです。テキストエディタで書くか、このページをAIに読ませて、作りたい画面を伝えてください。項目の名前とアイテムの一覧は、上の英語の説明と同じです(各項目に日本語名を付けています)。大文字と小文字は区別されます。ファイルは1MBまでです。
version(必須):1にします。
name(必須):ファイルの名前です。1〜100文字です。
layout(必須):縦画面の配置です。1つ以上書きます。
layoutLandscape(省略可):横画面の配置です。省略すると、今の横画面の配置が残ります。書くときは空にできません。
bindings(必須):動作です。1〜100件です。
analog(省略可):動かしている間、音量などを直接変えるアイテムです。
"アイテム:列:行" と書きます。指定するのはアイテムの左上のマスで、左上が0:0です。
縦画面は横6列×縦12行(列0〜5、行0〜11)、横画面は横12列×縦6行(列0〜11、行0〜5)です。
右上のマスには設定ボタンがあるので使えません。縦画面は5:0、横画面は11:0です。
マスからはみ出したり、ほかのアイテムと重なったりする場所には置けません。
多くのアイテムは2個まで置けます。2個目は名前の最後に2を付けます(knock2 など)。1個目も置いてください。
大きいサイズ(sliderLarge など)は、同じアイテムの通常サイズと一緒には置けず、2個目もありません。
決まりに合わない項目が1つでもあると、ファイルは読み込まれません。
actions(必須):動かす順番です。1〜3個です。4秒以内に全部行うと、builtIn の動作が実行されます。
builtIn(必須):実行する動作です。
text:文章やアドレスが必要な5つの動作(speakText、showText、copyText、pickFromList、openURL)にだけ、必ず書きます。1〜500文字です。pickFromList の項目は、読点(、)、カンマ、改行で区切ります。
2の付かない操作は、1個目と2個目のどちらでも実行されます。2の付いた操作(knockIn2 など)は、2個目だけで実行されます。
reelSpin はどちら向きに回しても実行されます。向きを決めるときは reelClockwise か reelCounterclockwise を使います。
実行できる動作が2つあるときは、操作の多いほうが実行されます。同じ操作の動作が2つあるときは、後に書いたほうが使われます。
使うアイテムが画面にないと、その動作は実行できません。おもりは、画面にあるときだけ振って動かせます。
操作のロックは、ノック式ボタンが画面にあり、unlockControls を割り当てているときだけかかります。ロック中は unlockControls だけが実行されます。
control:slider、roller、verticalRoller、reel、reel2 のどれかです。
target:volume(音量)、brightness(画面の明るさ)、lightLevel(ライトの明るさ)、playbackRate(再生速度)、trackList(曲の選択)のどれかです。
1つのアイテムが変えられるのは1つだけです。同じアイテムを2回書くと、後のほうが使われます。
reel は1個目のリールか大きいリール、reel2 は2個目のリールです。slider、roller、verticalRoller は、2個目と大きいサイズにも使われます。
trackList を割り当てると、曲名表示か大きいリールの中央に曲のリストが出ます。
「ファイルが大きすぎます。」:1MB以下にしてください。
「ファイルの形式を読み取れませんでした。」:カンマやかっこの抜け、version や name の抜け、操作名や動作名の間違いを確かめてください。
「このバージョンのファイルには対応していません。」:version を1にしてください。
「配置と動作の両方が入っているファイルだけ扱えます。」:layout と、1件以上の bindings を書いてください。空の layoutLandscape でもこの表示になります。
配置についての表示:名前の間違い、マスからのはみ出し、重なり、設定ボタンのマス、同じアイテムの重複、大小両方の配置がないか確かめてください。
AIに頼むときの例:「Analog Clickの設定ファイルを作って。縦と横の両方。レバーで10分タイマー、ノック式ボタンでロックと解除、ローラーで音量。」できたら、縦と横の両方でアイテムがマスに収まっているか確かめてから読み込んでください。