[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


🎉 Happy Birthday 4chan! 🎉


[Advertise on 4chan]


I bought a 'for parts' Logitech Bluetooth Keypad
>picrel how it used to be
and have since cleaned the PCB and the ribbon cables and got the display working again.
I want to use it as a CUSTOM KEYPAD by redefining the keypresses it generates, based on;
>/usr/share/X11/xkb/symbols/keypad
and I have this so far.
>
default hidden partial keypad_keys
xkb_symbols "extra_direction_keys" {

include "keypad(operators)"

key <KP7> { [ KP_Home, KP_7 ] };
key <KP8> { [ Up, KP_8, KP_Up ] };
key <KP9> { [ KP_Prior, KP_9 ] };

key <KP4> { [ Left, KP_4, KP_Left ] };
key <KP5> { [ Down, KP_5, KP_Down ] }
key <KP6> { [ Right, KP_6, KP_Right ] };

key <KP1> { [ KP_End, KP_1 ] };
key <KP2> { [ F5, KP_2 ] };
key <KP3> { [ KP_Next, KP_3 ] };
key <KPEN> { [ KP_Enter ] };
key <KPEQ> { [ KP_Equal ] };

key <KP0> { [ KP_Insert, KP_0 ] };
key <KPDL> { [ KP_Delete, KP_Decimal ] };
key <KPPT> { [ KP_Decimal, KP_Decimal ] };
};
>
So... how do I add this into the system?
How do I proceed from here?
Do I need to create a custom keyboard as a variant that refers to my new keypad_logitech_bluetooth or what?
Thanks in advance. Any help will be appreciated.
>>
>>1544022
I have added it as a;
>partial alphanumeric_keys
xkb_symbols "gb_logitech_mediapad_custom" {

include "gb(basic)"

name[Group1]="English (UK + Custom Logitech Mediapad)";

include "keypad(operators)"

key <KP7> { [ KP_Home, KP_7 ] };
key <KP8> { [ Up, KP_8, KP_Up ] };
key <KP9> { [ KP_Prior, KP_9 ] };

key <KP4> { [ Left, KP_4, KP_Left ] };
key <KP5> { [ Down, KP_5, KP_Down ] }
key <KP6> { [ Right, KP_6, KP_Right ] };

key <KP1> { [ KP_End, KP_1 ] };
key <KP2> { [ F5, KP_2 ] };
key <KP3> { [ KP_Next, KP_3 ] };

key <KPEN> { [ KP_Enter ] };
key <KPEQ> { [ KP_Equal ] };

key <KP0> { [ KP_Insert, KP_0 ] };
key <KPDL> { [ KP_Delete, KP_Decimal ] };
key <KPPT> { [ KP_Decimal, KP_Decimal ] };
};

But still no luck, yet.
I feel this is a bit closer though...
>>
>>1544142
Added to
>/usr/share/X11/xkb/symbols/gb



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.