Skip to content

R36S: its profile, its handheld drawn, desk mode - #459

Merged
tarikbc merged 11 commits into
mainfrom
r36s-profile
Nov 24, 2026
Merged

tarikbc merged 11 commits into
mainfrom
r36s-profile

Conversation

@tarikbc

@tarikbc tarikbc commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

The R36S in the launcher: what it knows about it, how it draws it, and the device files for a first test card. Nothing here has run on a real R36S, and the R36S is in no list a player sees.

Profile and words

  • src/device/r36s_profile.c: 640x480, not turned. FN is MENU, and brightness is FN+VOL. One speaker, no motor, no Bluetooth, Wi-Fi only on a USB adapter. No side lights, so L2/R2 are plain keys. No battery voltage rule until its cutoff is measured.
  • The words that name the MENU key itself now take the key's word from the profile (dev_menu_word), in all eight languages. That is the tutorial's MENU and brightness lessons, Zyper's answers there, and a port's loading screen. On the R36S they say FN ("Press FN for settings", "That's A. Try FN."). Every other handheld reads as before. "in MENU > ..." stays MENU, as it names the menu.
  • src/device/r36s_coreopts.c: the Pixel 2's options (same RK3326 and Mali-G31), without the rumble.

Drawn

  • src/device/r36s_model.c: 80 x 119 mm, keys measured on straight-on photos of a real one. The shoulders are tall paddles on the grip, from iFixit's teardown photo of the back. The white product render with A B X Y on the left is mirrored.
  • src/tourdevice.c: the Brick's art is now any slab handheld's, each with its own measures and marks. The Brick's 84 tutorial and Controls shots are byte for byte the same.
  • Desk mode (make desk-r36s) and the Simulator draw it, sticks too.
  • tools/build-r36s-model.py builds its 3D model (site/models/r36s.glb, poster, thumbnail), and video/device/render-device.py renders it at the others' 22 px a mm. Every number that was not measured is marked GUESS.

Device files (for plastron's make r36s, #461)

  • src/device/r36s.c and diatom/port/r36s.c are the Pixel 2's files with the R36S's differences set before they include them: its folder, its keys as ROCKNIX's tree sends them (A BTN_EAST, B BTN_SOUTH, FN BTN_MODE), and L2/R2 plain. In pixel2.c (launcher and Diatom) only those lines became RK_* names with the Pixel 2's values.
  • r36s_build.c (Home and System Update for a first card), r36s_hw.c, sd/r36s/device.sh.
  • zyhome takes FN as MENU too.

Checks I ran: check-model, check-devices, check-devicegen, check-handhelds, check-simulator, check-desk, check-tour-shots (with an R36S part), check-controls-shots, check-tour, check-strings, check-menus, check-controls, check-portload, check-zyhome, check-launch-start, check-site-devices. The device files compile only on Linux (check-device-compile has them). The image build in #461 compiles them.

A start for the R36S, which has the Pixel 2's RK3326: its profile
(640x480 not turned, FN as MENU with brightness on FN+VOL, one speaker,
no motor, no radio of its own), its core options (the Pixel 2's, which
were measured on the same chip and GPU, without the rumble), and its
handheld for the tutorial and the Controls tab, measured on photos of a
real one.

The R36S's body is the Brick's kind: a thin part with a thicker grip
behind it, the shoulders on the step between them. So the Brick's art
is now the art of any such slab, each with its own measures and marks
(the Brick's grilles, F1/F2, FN slider and light bar; the R36S's
speaker slots, sticks, pill POWER and reset hole), and a side key is
drawn on the face its model puts it on. The Brick's 84 tutorial and
Controls tab shots are the same pixels before and after.

Its sticks are drawn and never lit: they are no keys of the launcher's.
The flat drawing has them too, for desk mode and the Simulator.
tools/desk run --device r36s (make desk-r36s) opens the launcher as the
R36S at its 640x480, check-desk runs it with the other two, and both
windows draw a handheld's sticks where its flat drawing has them.
…s them

iFixit's R36S teardown has a straight photo of the back: the four
shoulders are tall paddles, from the grip's top, 50 mm under the top
edge, up to 38 mm under it, L1 and R1 15.0 wide and L2 and R2 14.4,
12 mm apart in the middle. The model had them as low keys on a ledge
at 12 mm. The photo of the bottom gives the thin part 18.8 mm and the
whole 29.7, so the thin part is 18.5 now, not 17.
The words that name the MENU key itself, not the menu, now take its word
from the profile (dev_menu_word): MENU on the Pixel 2 and the Brick, FN on
the R36S. That is MENU's lesson and the brightness chord's in the
tutorial, Zyper's answers to a wrong press there ("That's A. Try FN.",
"Hold FN too."), and a port's loading screen ("Hold FN and START to go
back"). In all eight languages the key's word is now a %s, so every other
handheld reads as it did. The words that name the menu, "in MENU >
Appearance", stay MENU.
tools/build-r36s-model.py builds it the way the Brick's script builds the
Brick: the product sheet's 80 x 119 x 35 mm and the key places
src/device/r36s_model.c draws, measured on photos of a real one, with
nothing traced and no maker's mark. The white R36S: the glass from the top
edge, the d-pad, A B X Y in their colours, the speaker's slots, FN, SELECT
and START with their words, the two sticks in their wells, POWER and the
reset hole on the left, the volume rocker on the right, both card slots,
the tall shoulders on the grip, its ribs, DC, the jack and OTG at the
bottom. Every number that was not measured is marked GUESS.

It writes build/r36s-model/r36s.blend and site/models/r36s.glb, and with
--render the six review views and the poster and its thumbnail, at the
Pixel 2 poster's scale. video/device/render-device.py draws it straight on
as r36s-front.png at the others' 22 px a mm.
For a first R36S test card (plastron's make r36s):

- src/device/r36s.c and diatom/port/r36s.c are the Pixel 2's files with
  the R36S's differences, set before they include them: its folder on the
  card, its keys as ROCKNIX's R36S tree sends them (the A cap BTN_EAST,
  the B cap BTN_SOUTH, FN BTN_MODE) and, in the launcher, L2 and R2 as
  plain keys, as it has no battery lights. Both already follow the
  panel's mode for the turn, which is none on its 640x480 panel. In the
  Pixel 2's two files only those few lines became names, with the Pixel
  2's values, so its build is the same.
- src/device/r36s_hw.c: its hardware report says the kernel's line about
  the panel, which tells which of the R36S's panels it is.
- src/device/r36s_build.c (config/device/r36s.*): the Pixel 2's chip and
  card, its own Diatom port, and for a first card Home and System Update
  alone; ports wait for portkeys to know its FN.
- sd/r36s/device.sh: the Pixel 2's card script with what a first card
  leaves out, and a log of what a tester's report needs (the tree that
  booted, the kernel's panel and card lines, the input devices).
- tools/zyhome.c: FN (BTN_MODE) is MENU too, for MENU+START.
Compared with the maker's product photos of the white R36S (straight
front with the left side, three-quarter front with the right side and the
back):

- The 3D model (tools/build-r36s-model.py): glossy black keys and d-pad,
  its pivot black; the sticks' black caps in light grey rings standing out
  of the face; a dot between the grille's middle slots; the microphone's
  hole between SELECT and START; the seam across the face under the glass;
  one volume rocker; POWER, the reset hole and the TF2 slot where the two
  side photos put them (between what each gives); ribs down both sides'
  lower part; on the back, the panel on the thin part, the grip ribbed
  across, and the shoulders as black paddles angled out past it. Its
  poster's screen is the Pixel 2 poster's home as the R36S draws it
  (res/readme/r36s/systems.png).
- The launcher's drawing (src/tourdevice.c's R36S slab): the sticks' light
  rings, the grille's dot, the microphone's hole, the seam; from the back,
  the panel, the ribs and the shoulders standing out past it. POWER moves
  to z 40.0 in its model (and its flat drawing). The Brick's 84 shots are
  the same pixels.

The tutorial's check judges the d-pad's lesson on the R36S by its left
half alone: R1's paddle, lit with it, now shows at the right edge.
The grille is a staggered pattern of recessed slots, not rows of two: three
rows 3.85 mm apart, the top one level with X, three slots a row in columns
5.63 apart, 1.5 tall, long ones 5.4 and short ones 2.25: long, short, long;
short, long, short; long, short, long. Measured on the maker's straight-on
photo at 6.66 px a mm. The dot that stood in the middle row was a misreading
and is gone. Both the 3D model (its poster, thumbnail and glb again) and the
launcher's drawing; the Brick's shots are the same pixels.
# Conflicts:
#	Makefile
#	src/device/build.h
#	src/device/profile.h
#	src/profile.c
#	tools/devicegen.c
#	tools/devices-check.c
@tarikbc
tarikbc marked this pull request as ready for review November 24, 2026 00:25
@tarikbc
tarikbc merged commit e9c637e into main Nov 24, 2026
7 checks passed
@tarikbc
tarikbc deleted the r36s-profile branch November 24, 2026 00:58
tarikbc added a commit that referenced this pull request Nov 24, 2026
Main brought the R36S (#459), whose art is the Brick's made a slab of
measures (g_slab), while this branch made the Brick's helpers the
handhelds' (face_shape, spot_of, shows, top_col, and cross and icon with
their sizes as arguments) for the Smart Pro's own art. The slab's code
calls those, with the slab's arm and icon sizes. td_art has the Smart Pro
and the R36S, and the Makefile's device and model lists, model-check and
tour-shot-check both handhelds.
tarikbc added a commit that referenced this pull request Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant