Sam Hocevar
|
aa2bb79c87
|
input: tweak warning messages.
|
11 лет назад |
Sam Hocevar
|
94f4df0c47
|
input: fix compilation warning.
|
11 лет назад |
Benjamin ‘Touky’ Huet
|
a89dac5c30
|
Fixed some stuff and added some small tweaks
|
11 лет назад |
Benjamin ‘Touky’ Huet
|
1756726fca
|
Added some shit in controller and text
|
11 лет назад |
Sam Hocevar
|
9ba22b8a58
|
input: prepare a small API for direct text input.
|
11 лет назад |
Sam Hocevar
|
4374db93c4
|
input: use key scancodes everywhere, but add a small fallback for SDL1.2.
|
11 лет назад |
Sam Hocevar
|
0cc1dd69ba
|
input: use scancodes instead of ASCII values when using SDL v2.
|
11 лет назад |
Sam Hocevar
|
6f1f7ab895
|
input: fix a typo in the key list and clean up some code.
|
11 лет назад |
Sam Hocevar
|
d373081b80
|
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
|
11 лет назад |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
11 лет назад |
Sam Hocevar
|
b2283cd1a3
|
build: update VS solution and fix a few compilation warnings.
|
11 лет назад |
Sam Hocevar
|
7dba2ff3a1
|
base: use ptrdiff_t for array and string sizes and some other things.
|
11 лет назад |
Sam Hocevar
|
e49353f457
|
base: use variadic templates to remove 300+ lines of redundant code.
|
11 лет назад |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
11 лет назад |
Sam Hocevar
|
3862ad59dc
|
base: going on a lowercase rampage; today’s victim: Array.
|
11 лет назад |
Benjamin ‘Touky’ Huet
|
3d4b3d53c3
|
Added bunch of stuff on threads and images.
|
11 лет назад |
Benjamin ‘Touky’ Huet
|
b98584957c
|
Added Mouse scroll as axis.
|
11 лет назад |
Sam Hocevar
|
0f3805be4c
|
android: various fixes, but the switch to NativeActivity isn't complete.
|
12 лет назад |
Benlitz
|
e1241fd974
|
input: removed static keyword for global input names
|
12 лет назад |
Lolbot
|
91304801cc
|
fixed 22 files out of 2667:
- removed 2 CR characters
- removed 9 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 19 svn:eol-style properties
|
12 лет назад |
Benjamin ‘Touky’ Huet
|
2da1903619
|
Build fix
|
12 лет назад |
Benjamin ‘Touky’ Huet
|
747da72c44
|
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
|
12 лет назад |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
12 лет назад |
Benlitz
|
339f05db73
|
input: binding multiple key/axis to the same controller action
|
12 лет назад |
Sam Hocevar
|
9cfe17fd8b
|
core: fix some minor compiler warnings.
|
12 лет назад |
Benlitz
|
c1da4619f7
|
input: renamed xinput keys to something more human readable (such as A or DPadLeft) and inverted mouse Y axis to match joystick axis (negatives being up)
core: calling InitGame() at the first tick of an entity. InitDraw is still uncalled yet
fixed mrpigeon and orbital accordingly
|
12 лет назад |
Benlitz
|
35c5bce344
|
orbital: upgraded to the new input system and fixed compilation. NOT WORKING since InputGame() is not currently being called by the engine.
|
12 лет назад |
Benlitz
|
eab5c46b1e
|
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
|
12 лет назад |
Benlitz
|
b3d306d22e
|
input: added functions to bind keys over axis (not tested)
|
12 лет назад |
Benlitz
|
9b7641df07
|
input: added a GetAvailableDevices function to retrieve device names.
|
12 лет назад |
Benlitz
|
b6b490578e
|
copy-paste failure corrected.
|
12 лет назад |
Benlitz
|
6f8dfa76c8
|
Added missing file and fixed mongoloclick
|
12 лет назад |
Benlitz
|
8a657ea287
|
input: Removed previous input system
|
12 лет назад |
Sam Hocevar
|
0529e067f2
|
input: fix a problem with the SDLK_WORLD_0 macro; arrow keys weren't
handled properly.
|
12 лет назад |
Sam Hocevar
|
e16416a6ee
|
input: fix a memory leak in the controller code.
|
12 лет назад |
Benlitz
|
42381d33a4
|
fixed a crash when updating a binding that has been bound to an unexisting key/axis of an existing device
|
12 лет назад |
Sam Hocevar
|
399a172425
|
build: fix a few compilation issues with input v2.
|
12 лет назад |
Lolbot
|
c47d0f8c62
|
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
|
12 лет назад |
Benlitz
|
a7aac24c46
|
Completely reworked input system. Unified device interface, button, axis and cursor support, controller and binding system, mouse capture. Tutorial 07_input provided. Require to compile lolcore with LOL_INPUT_V2 to be activated (also needed app-side before including core.h)
|
12 лет назад |
Sam Hocevar
|
6be31bba32
|
input: make keyboard state platform-independent.
|
12 лет назад |
Sam Hocevar
|
c1428fc1f9
|
input: support up to 32 mouse buttons.
|
12 лет назад |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
13 лет назад |
Sam Hocevar
|
aeb1b68377
|
mrpigeon: can now play using spacebar.
|
13 лет назад |
Sam Hocevar
|
1e973c81bd
|
build: add SDL detection code in new file lol-sdl.m4. The SDL2 version is
disabled until the engine code itself is ported to SDL2.
|
13 лет назад |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
13 лет назад |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
13 лет назад |
Sam Hocevar
|
b438a94642
|
input: add the Keyboard abstraction object type.
|
13 лет назад |
Sam Hocevar
|
439298ee5e
|
misc: very minor tweaks here and there.
|
13 лет назад |
Sam Hocevar
|
956657e86f
|
input: some refactoring in the action bindings.
|
13 лет назад |
Lolbot
|
23807ea88e
|
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
|
13 лет назад |