Skip to content

Instantly share code, notes, and snippets.

@ImagoTrigger
Created September 23, 2023 18:56
Show Gist options
  • Save ImagoTrigger/48effe3a41c65c79155b71ea06c572f7 to your computer and use it in GitHub Desktop.
Save ImagoTrigger/48effe3a41c65c79155b71ea06c572f7 to your computer and use it in GitHub Desktop.
alleg inputmap
use "commands";
use "keycode";
keyCommandMap =
[
(87, 2, 4),
(188, 8, 5),
(190, 8, 6),
(109, 8, 11),
(107, 8, 12),
(38, 8, 17),
(40, 8, 18),
(37, 0, 19),
(39, 0, 20),
(37, 1, 21),
(65, 1, 21),
(39, 1, 22),
(68, 1, 22),
(27, 8, 25),
(120, 8, 32),
(121, 0, 33),
(122, 0, 34),
(45, 1, 40),
(46, 1, 41),
(46, 0, 42),
(80, 8, 43),
(100, 8, 44),
(65, 0, 44),
(102, 8, 45),
(68, 0, 45),
(105, 8, 46),
(87, 1, 46),
(103, 8, 47),
(83, 1, 47),
(104, 8, 48),
(87, 0, 48),
(101, 8, 49),
(83, 0, 49),
(57, 0, 50),
(20, 8, 50),
(71, 0, 51),
(192, 8, 52),
(74, 4, 53),
(13, 8, 54),
(32, 0, 55),
(53, 0, 56),
(32, 2, 56),
(99, 8, 57),
(76, 0, 57),
(187, 8, 58),
(189, 8, 59),
(8, 8, 60),
(219, 0, 61),
(221, 0, 62),
(220, 8, 63),
(219, 4, 65),
(221, 4, 66),
(113, 8, 67),
(114, 0, 68),
(118, 8, 69),
(115, 8, 70),
(116, 8, 71),
(117, 0, 72),
(84, 0, 74),
(84, 2, 75),
(84, 1, 76),
(70, 0, 77),
(70, 2, 78),
(70, 1, 79),
(69, 0, 80),
(69, 2, 81),
(69, 1, 82),
(81, 0, 83),
(81, 2, 84),
(81, 1, 85),
(66, 0, 86),
(66, 2, 87),
(66, 1, 88),
(67, 1, 89),
(36, 8, 89),
(97, 8, 90),
(67, 0, 90),
(72, 8, 91),
(68, 3, 92),
(71, 2, 93),
(56, 0, 94),
(75, 8, 94),
(48, 0, 95),
(82, 0, 96),
(90, 8, 100),
(88, 8, 103),
(77, 8, 104),
(33, 8, 105),
(34, 8, 106),
(123, 1, 107),
(123, 0, 108),
(54, 0, 128),
(98, 8, 128),
(114, 1, 129),
(49, 2, 130),
(50, 2, 131),
(51, 2, 132),
(52, 2, 133),
(89, 2, 134),
(85, 2, 135),
(73, 2, 136),
(79, 2, 137),
(53, 2, 138),
(54, 2, 139),
(55, 2, 140),
(56, 2, 141),
(57, 2, 142),
(48, 2, 143),
(49, 0, 145),
(50, 0, 146),
(51, 0, 147),
(52, 0, 148),
(83, 2, 154),
(106, 8, 155),
(82, 2, 155),
(45, 0, 156),
(19, 2, 157),
(74, 0, 167),
(74, 2, 180),
(76, 1, 193),
(108, 8, 200),
(122, 2, 201),
(121, 2, 202),
(123, 2, 203),
(112, 8, 204),
(73, 0, 205),
(117, 1, 206),
(35, 8, 207),
(67, 2, 209),
(119, 8, 210),
(9, 8, 211),
(96, 8, 211),
(89, 1, 212),
(85, 1, 213),
(73, 1, 214),
(79, 1, 215),
(89, 0, 216),
(78, 8, 217)
];
mouseButtonCommandMap =
[
(2, 50),
(0, 55),
(1, 56)
];
buttonCommandMap =
[
];
numericValuesNew =
[
(0, 1065353216),
(0, -1082130432),
(0, 1065353216),
(-1082130432, -1082130432),
(0, 1065353216),
(1065353216, -1082130432)
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment