Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Clip Zip broken button remap
« previous next »
  • Print
Pages: [1]

Author Topic: Clip Zip broken button remap  (Read 888 times)

Offline SylvianDragon

  • Member
  • *
  • Posts: 1
Clip Zip broken button remap
« on: March 02, 2024, 05:28:21 PM »
Hello there!

I just got a refurbished Sansa Clip Zip, and noticed that the bottom button does not work.

Is there a way to remap the button to, say, clicking both volume keys at once? I'd rather not have to buy a new one or send it back if possible.

I saw one other post on this, but it was from 2012 and said I had to remap in source it and recompile. I also saw that there is a program on the dev builds (which I installed for this purpose) to remap buttons in software, but I couldn't figure out the menus.

Help would be greatly appreciated!
-Sylvia
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Clip Zip broken button remap
« Reply #1 on: March 12, 2024, 05:47:58 PM »
as long as you grab a dev version there is a plugin to allow button remapping

Plugins>Applications>keyremap

Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Clip Zip broken button remap
« Reply #2 on: March 13, 2024, 05:46:25 PM »
Sorry I just saw that you already found the plugin

so you won't actually be remapping the button you will be remapping the actions for that button

Ill use the text import to save you having to type this in but I'd suggest you edit and ply around to get exactly what you want

here is one using volume down and volume up but I had a hard time getting the timing just right to not accidentally change the volume
Code: [Select]
# Key Remap
# Device: Sandisk Sansa Zip
# Entries: 6

# Each entry should be PROPER_CASE and on its own line
# Comments run to end of line

CONTEXT_LIST = {
    {ACTION_STD_NEXT, BUTTON_VOL_UP | BUTTON_VOL_DOWN, BUTTON_NONE},
}

CONTEXT_MAINMENU = {
    {ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_UP, BUTTON_NONE},
}

CONTEXT_TREE = {
    {ACTION_STD_NEXT, BUTTON_VOL_UP | BUTTON_VOL_DOWN, BUTTON_NONE},
}

you might be able to get it to work using |BUTTON_REL or BUTTON_REPEAT or even mapping someting in CONTEXT_STD but I don't feel like fiddling with it
I had better luck using Select and Volume down abeit slightly less convenient..

Code: [Select]
# Key Remap
# Device: Sandisk Sansa Zip
# Entries: 6

# Each entry should be PROPER_CASE and on its own line
# Comments run to end of line

CONTEXT_LIST = {
    {ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_SELECT, BUTTON_NONE},
}

CONTEXT_MAINMENU = {
    {ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_SELECT, BUTTON_NONE},
}

CONTEXT_TREE = {
    {ACTION_STD_NEXT, BUTTON_VOL_DOWN | BUTTON_SELECT, BUTTON_NONE},


save one of these to a file 'keyremap.txt' in the root of the drive (same level as the .rockbox directory)

open keyremap and go to 'Import Text Keymap' choose the file

go to 'Edit Keymap' if you want to make any changes

now choose 'Temp Core Remap' so if something goes wrong a reboot will clear it

once you have it how you like save it or export it and then choose

'Set Core Remap'

if you would like to revert then choose 'Remove Core Remap'

on exit if you didn't save it'll ask you to save if you already exported then feel free to cancel the save




Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Clip Zip broken button remap
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.244 seconds with 24 queries.