Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support for RKM75 (WIP) #127

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

pespinel
Copy link

@pespinel pespinel commented Jul 31, 2024

Misc

Add support for RKM75:

  • Wired: 1ac
  • 2.4G: 150

Result

Captura de pantalla 2024-07-31 a las 7 44 19

Missing

I don't know if the keyMaps are right or not. This is my first PR in this repo so any help is welcome 😄

@pespinel
Copy link
Author

pespinel commented Jul 31, 2024

This is the KB.ini file:

[OPT]
Fw=1
Psd=6,0,0,0,0,1E
RGBKb=1
LayoutKeyNum=84
KbLayout=5
ShowSleepTime=1
ShowAutoDetect=1
SendSysParam=2000
NoSyncTimeForWireless=1
LayerNum=3

DebounceUI=1,2
DebounceHW=1,3
DebounceName=1

GaoshouIndex=17
GameGroupNum=1
clrGaoshou=255,255,255
GaoshouKey1=1b,57,41,53,44,26,28,25,27
GaoshouKey2=70,71,72,31,32,33,34,35,9,51,57,45,52,41,53,44,47,10,42,11,12,20,2c,21,22,24,23

DefBri=4
LightUI=0,5,10,15,20

RGBIndex=0,1,2
;direct=1 only show left and right, direct=2 only show up and down
;animation speed light direct random colornum
;LedMask=0x02
DefLedIndex=10
LedOpt1=  0,0,1,0,1,1
LedOpt2=  0,1,1,0,1,1
LedOpt3=  0,1,1,0,0,0
LedOpt4=  0,1,1,0,1,1
LedOpt5=  0,1,1,0,1,1
LedOpt6=  0,1,1,0,1,1
LedOpt7=  0,1,1,0,1,1
LedOpt8=  0,1,1,0,1,1
LedOpt9=  0,1,1,0,1,1
LedOpt10=0,1,1,0,1,1
LedOpt11=0,1,1,0,1,1
LedOpt12=0,1,1,0,1,1
LedOpt13=0,1,1,0,1,1
LedOpt14=0,1,1,0,1,1
LedOpt15=0,1,1,0,0,0
LedOpt16=0,1,1,0,0,0
LedOpt17=0,1,1,0,0,0
LedOpt19=0,0,0,0,0,0
LedOpt20=0,0,0,0,0,0

UnRectKey = 81,580,108,580,132,590,132,590,171,624,171,624,108,580,108
[KEY]
;Esc
K1=58,23,80,45, 0x02,0x1B,0x00,0
;F1
K2=106,23,128,45, 0x02,0x70,0x00,12
;F2
K3=145,23,167,45, 0x02,0x71,0x00,18
;F3
K4=184,23,206,45, 0x02,0x72,0x00,24
;F4
K5=223,23,245,45, 0x02,0x73,0x00,30
;F5
K6=271,23,293,45, 0x02,0x74,0x00,36
;F6
K7=310,23,332,45, 0x02,0x75,0x00,42
;F7
K8=349,23,371,45, 0x02,0x76,0x00,48
;F8
K9=389,23,411,45, 0x02,0x77,0x00,54
;F9
K10=437,23,459,45, 0x02,0x78,0x00,60
;F10
K11=476,23,498,45, 0x02,0x79,0x00,66
;F11
K12=514,23,536,45, 0x02,0x7A,0x00,72
;F12
K13=553,23,575,45, 0x02,0x7B,0x00,78
;Delete
K14=601,23,623,45, 0x02,0x2E,0x00,84
;`
K15=57,72,79,94, 0x02,0xC0,0x00,1
;1
K16=97,72,119,94, 0x02,0x31,0x00,7
;2
K17=135,72,157,94, 0x02,0x32,0x00,13
;3
K18=174,72,196,94, 0x02,0x33,0x00,19
;4
K19=213,72,235,94, 0x02,0x34,0x00,25
;5
K20=252,72,274,94, 0x02,0x35,0x00,31
;6
K21=290,72,312,94, 0x02,0x36,0x00,37
;7
K22=329,71,351,93, 0x02,0x37,0x00,43
;8
K23=367,72,389,94, 0x02,0x38,0x00,49
;9
K24=406,72,428,94, 0x02,0x39,0x00,55
;0
K25=445,72,467,94, 0x02,0x30,0x00,61
;-
K26=485,72,507,94, 0x02,0xBD,0x00,67
;=
K27=523,72,545,94, 0x02,0xBB,0x00,73
;Backspace
K28=563,72,625,94, 0x02,0x8,0x00,79
;home
K29=656,72,678,94, 0x02,0x24,0x00,91
;Tab
K30=58,110,98,132, 0x02,0x9,0x00,2
;Q
K31=116,110,138,132, 0x02,0x51,0x00,8
;W
K32=154,110,176,132, 0x02,0x57,0x00,14
;E
K33=193,110,215,132, 0x02,0x45,0x00,20
;R
K34=232,110,254,132, 0x02,0x52,0x00,26
;T
K35=271,110,293,132, 0x02,0x54,0x00,32
;Y
K36=310,110,332,132, 0x02,0x59,0x00,38
;U
K37=349,110,371,132, 0x02,0x55,0x00,44
;I
K38=387,110,409,132, 0x02,0x49,0x00,50
;O
K39=426,110,448,132, 0x02,0x4F,0x00,56
;P
K40=466,109,488,131, 0x02,0x50,0x00,62
;[
K41=504,110,526,132, 0x02,0xDB,0x00,68
;]
K42=543,109,565,131, 0x02,0xDD,0x00,74
;Enter
K43=583,109,623,131, 0x02,0xD,0x00,81
;PgUp
K44=657,110,679,132, 0x02,0x21,0x00,92
;CapsLock
K45=57,148,111,170, 0x02,0x14,0x00,3
;A
K46=125,148,147,170, 0x02,0x41,0x00,9
;S
K47=164,148,186,170, 0x02,0x53,0x00,15
;D
K48=203,148,225,170, 0x02,0x44,0x00,21
;F
K49=242,148,264,170, 0x02,0x46,0x00,27
;G
K50=281,148,303,170, 0x02,0x47,0x00,33
;H
K51=320,148,342,170, 0x02,0x48,0x00,39
;J
K52=358,148,380,170, 0x02,0x4A,0x00,45
;K
K53=397,148,419,170, 0x02,0x4B,0x00,51
;L
K54=436,148,458,170, 0x02,0x4C,0x00,57
;;
K55=474,148,496,170, 0x02,0xBA,0x00,63
;'
K56=513,148,535,170, 0x02,0xDE,0x00,69
;\
K57=552,148,576,170, 0x02,0xDC,0x00,75
;LShift
K58=58,187,92,209, 0x02,0xA0,0x00,4
;Z
K59=145,187,167,209, 0x02,0x5A,0x00,10,10,16
;X
K60=183,187,205,209, 0x02,0x58,0x00,16,16,22
;C
K61=222,187,244,209, 0x02,0x43,0x00,22,22,28
;V
K62=261,187,283,209, 0x02,0x56,0x00,28,28,34
;B
K63=300,187,322,209, 0x02,0x42,0x00,34,34,40
;N
K64=339,187,361,209, 0x02,0x4E,0x00,40,40,46
;M
K65=378,187,400,209, 0x02,0x4D,0x00,46,46,52
;,
K66=417,187,439,209, 0x02,0xBC,0x00,52,52,58
;.
K67=456,187,478,209, 0x02,0xBE,0x00,58,58,64
;/
K68=494,187,516,209, 0x02,0xBF,0x00,64,64,70
;RShift
K69=534,187,587,209, 0x02,0xA1,0x00,82,82,76
;Up
K70=610,196,632,218, 0x02,0x26,0x00,88,88,82
;LCtrl
K71=58,226,88,248, 0x02,0xA2,0x00,5
;LWin
K72=108,226,138,248, 0x02,0x5B,0x00,11
;LAlt
K73=156,226,186,248, 0x02,0xA4,0x00,17
;Space
K74=204,226,430,248, 0x02,0x20,0x00,35
;RAlt
K75=446,227,468,249, 0x02,0xA5,0x00,53
;FN
K76=485,227,509,249, 0x02,0xFA,0x00,59
;RCtrl
K77=524,227,546,249, 0x02,0xA3,0x00,65
;Left
K78=571,234,593,256, 0x02,0x25,0x00,83
;Down
K79=610,234,632,256, 0x02,0x28,0x00,89
;Right
K80=649,234,671,256, 0x02,0x27,0x00,95
;PgDn
K81=657,149,679,171, 0x02,0x22,0x00,93
;><
K82=107,186,129,208, 0x02,0xE2,0x00,76,76,10


[FN1]
;F1
K2=0x09,0x01,0x02000194
;F2
K3=0x09,0x01,0x02000223
;F3
K4=0x09,0x01,0x0200018a
;F4
K5=0x09,0x01,0x02000192
;F5
K6=0x09,0x01,0x02000183
;F6
K7=0x09,0x01,0x020000b7
;F7
K8=0x09,0x01,0x020000b6
;F8
K9=0x09,0x01,0x020000cd
;F9
K10=0x09,0x01,0x020000b5
;F10
K11=0x09,0x01,0x020000E2
;F11
K12=0x09,0x01,0x020000ea
;F12
K13=0x09,0x01,0x020000e9
;Backspace
K28=0x09,0x01,0x08050000
;A
K46=0x09,0x01,0x07000020
;S
K47=0x09,0x01,0x07000021
;Up
K70=0x09,0x01,0x08030100	
;LWin
K72=0x09,0x01,0x07000001
;Space
K74=0x09,0x01,0x08ff0000
;Left
K78=0x09,0x01,0x08040200	
;Down
K79=0x09,0x01,0x08030200
;Right
K80=0x09,0x01,0x08040100
;home
K29=0x02,0x2C,0x00
;PgDn
K81=0x02,0x23,0x00
;PgUp
K44=0x02,0x13,0x00
;Delete
K14=0x02,0x91,0x00
;,
K66=0x09,0x01,0x08020000
;O
K39=0x09,0x01,0x07000012
;]
K42=0x02,0x2D,0x00
;L
K54=0x09,0x01,0x0700000F
;\
K57=0x09,0x01,0x08000000

I don't know how to extract the top/bottom keys from this each key entry

@GreyElaina
Copy link

the top and bottom seems to be used in GUI i guess, combine with images/xxx.png. so that you can see and touch these keys in rangoli.
btw, how you dump these bIndex? should i use wireshark to play with the official firmware?

@ohuc
Copy link

ohuc commented Oct 21, 2024

where is kb.ini stored?

@SkylarRohter
Copy link

This would've been nice to have.

@Joshix-1 Joshix-1 mentioned this pull request Dec 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants